Javascript doesn't pull value

assassin

New Member
I have this piece of code: \[code\] var categoryDetailId = $("#createEventForm-categoryDetail-idCategory").val();\[/code\]and this html from myrendered page: http://erxz.com/pb/22844 When I hit the button it goes to NanUpdate:I went in and set that and it didn't work still. I also have this one. \[code\] var eventInformationId = $("#createEventForm-eventInformation-idEventInformation").value();\[/code\]it doesn't set eventInformationId either. The line in the html for it is:\[code\] <input type="hidden" name="createEventForm[eventInformation][idEventInformation]" value="http://stackoverflow.com/questions/2079861/1" id="createEventForm-eventInformation-idEventInformation" /></dd>\[/code\]
 
Back
Top