Er, simple question, did you make sure the variable "editRowID"
actually has a meaningful value in it?

I'm not much of a JS/JQuery person (I don't even know what JQuery is),
but the line you've got has too many things going on at once.  I'd
break it up and test each step to see that the expected result is
appearing before concluding I was screwing up with JQuery.

Dave

On Wed, Dec 10, 2008 at 7:06 PM, Paul <[EMAIL PROTECTED]> wrote:
>
> Question for the JS/JQuery gurus out there. I've been looking at this
> all afternoon. It might be the cold weather, It might be the drinking
> last night. Or just I'm dumb.
>
> I'll save off the long description in hopes someone can answer this
> quick. I'm trying to access a form's fields. I can do this when using
> a specific hand-coded selection like this.
>
>        var song_val = jQuery("#playlist_songs_16_song").val();
>
> But for some reason I cannot do the same with a variable. Here
> editRowID is equal to '16' and is just a var set from another function.
>
>        var song_val = jQuery("#playlist_songs_"+editRowID+"_song").val();
>
> In this second instance song_val is set to undefined. What am I missing?
>
> Paul
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Our Web site: http://www.RefreshAustin.org/

You received this message because you are subscribed to the Google Groups 
"Refresh Austin" group.

[ Posting ]
To post to this group, send email to [email protected]
Job-related postings should follow 
http://groups.google.com/group/Refresh-Austin/web/refresh-austins-job-posting-guidelines.
We do not accept job posts from recruiters.

[ Unsubscribe ]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

[ More Info ]
For more options, visit this group at 
http://groups.google.com/group/Refresh-Austin
-~----------~----~----~----~------~----~------~--~---

Reply via email to