Thread: Posting
View Single Post
Old 11-18-2012, 01:15 AM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Code:
alert($("#hiddenField2"));
will display [object Object] because that is what it is.. If you wish to display the content of the field use

Code:
alert($("#hiddenField2").val());
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote