Unable to get value from textbox used inside a facebox?

I got the solution I used the following: alert($('#facebox input:text:first').val()) It gives the modified value of textbox Reference: stackoverflow.com/questions/1692628/gett... Anyways, thanks to all of you.

I got the solution. I used the following: alert($('#facebox input:text:first').val()) It gives the modified value of textbox. Reference: stackoverflow.com/questions/1692628/gett... Anyways, thanks to all of you...

Hmm, using jQuery 1.3.2 your example doesn't seem to display the FaceBox area when clicking on the link (it stays invisible). I modified your example slightly with the following View Facebox link and now the FaceBox shows properly, as well as having the dialog display the current information (in both Safari and Firefox). Does this help?

View Facebox.

I am running this code in IE 7.0 and it seems to be working fine here. Did not yet try running it on mozilla. I am also using the same version jquery 1.3.2.

Anyways thanks for the reply :-) – Hari Nov 9 '09 at 10:08 Ok, but have you tried making the tag change I suggested? It should solve your problem in IE7 as well. – Gene Goykhman Nov 9 '09 at 10:22.

Try with alert($('. Content #text1').val());, this is because facebox is creating a "copy" of your dive in a table to display its "box" and keep the same ids (you can see that happening with Firebug) Edit: working Firefox, Chrome and IE7 example: unable to get value from textbox used inside a facebox View Facebox.

Am afraid, I tried using alert($('. Content #text1').val()); but it always gives the output in alert message as "undefined. " – Hari Nov 9 '09 at 10:05 This works for me with jQuery 1.3.2 and Firefox 3.6 but thje way this plugin works is bad IMHO.

I can reproduce the "not working" on IE7 – RC. Nov 9 '09 at 10:31 Thanks a lot to you also. You got it right.

Regards, Hari – Hari Nov 9 '09 at 10:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions