Number of JavaScript elements for LOV

Hello

is it possible to get the number of elements in javascript for an item from the list of values?

Thank you

Apex 4.2.4

Hi temm.

TEMM says:

Hello

is it possible to get the number of elements in javascript for an item from the list of values?

Thank you

Apex 4.2.4

Yes, you can do so by using jQuery. Assume that your selection list is P1_SELECT, then:

$('select#P1_SELECT option').length;

you will have several options in a select tag...

Reference: html - how to count the number of tags option using jQuery - stack overflow

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

Maybe you are looking for

  • iPhoto will not see all the pic. on the iPhone.

    After installing a new hard drive in the iMac, due to the failure of the original installed, I struggle with having on the iMac iPhoto to see pictures on my iPhone that are older than October 2014. Photos are visible on the iPhone, but iPhoto will no

  • CLIQ Xt update

    I was wondering if anyone has an info inside on the release date for 2.1 for the xt... Wishing a little I had the cliq, lucky dogs has already got their update!

  • Connectivity wi - fi VIBE P1 problem

    I have been using my Lenovo Vibe P1 for about a month now. After exactly 30 days of flawless phone use suddenly Wi - Fi is facing problems. It connects to the WiFi with no problems but the upload/download of data does not occur. Kindly, help me solve

  • wiring of remote sensing and shielding to the Earth, 9237 requirements

    Hi, I have a set of scales (full-bridge) connected to a 9237 (in a 9172 chassis), and I have two questions regarding the wiring: (1) requires remote sensing that you have two additional sons detach from the cell, to the place where the wires attach t

  • Windows live mail ability

    can someone please tell me what is the capacity in my windows live mail , for the storage of emails + the ability to the Inbox because recently changed from windows mail to windows live mail?