Another newbie question about the Lookup object...
How do I return the text from the Code Field or Description Field part of a Lookup object in Javascript?
In the example below, either "W0005F-03" (Code Field) or "eFX Relocation..." (Description Field).
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Lookup Text
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Lookup Text
armstrs01,
I don't understand the question (what do you mean return the text?)
Steven
I don't understand the question (what do you mean return the text?)
Steven
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm
Re: Lookup Text
I want to be able to use the text from the Description part of the lookup in a Javascript alert message.
I want to be able to use/display the text "eFX Relocation (SWD Pre-Prod to TSQ Phase 2)" but I don't know how to refer to (get) that part of the Lookup object. If is say something like alert($('#ReleasedProj_ID').val())); I get the underlying code id, when I really want the Description.
I want to be able to use/display the text "eFX Relocation (SWD Pre-Prod to TSQ Phase 2)" but I don't know how to refer to (get) that part of the Lookup object. If is say something like alert($('#ReleasedProj_ID').val())); I get the underlying code id, when I really want the Description.
Re: Lookup Text
armstrs01,
Hit F12 in your browser and then click the icon in red.
Hover or click this on the fields who's name you want..
Steven
Hit F12 in your browser and then click the icon in red.
Hover or click this on the fields who's name you want..
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 20
- Joined: Tue Jul 14, 2015 5:00 pm