Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

reading the actual displayed value

Post Reply
Fundi
Posts: 27
Joined: Sun Apr 17, 2011 10:22 pm

reading the actual displayed value

Unread post by Fundi »

Hi

If this line:
document.getElementById(prefix+'quote_id').value

Gets the value of the database field quote_id

how can one get the actual displayed number?
quote_id is displaying a number from a related table in a lookup field.

Thanks for any hints.
Fundi
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: reading the actual displayed value

Unread post by admin »

Fundi

The answer you are after is .. document.getElementById('code' + prefix+'quote_id').value

Can I suggest you have a look at the html that sits behind a nuBuilder Form, for instance

to find the field holding 14961, search for 14961 in the html source and you'll get an idea of whats going on.
lup2.PNG
Steven
You do not have the required permissions to view the files attached to this post.
Post Reply