You can do this in jQuery:
$("textarea[@name=my_field_name]").val();$("input[@name=my_field_name]").val() |
Update, the @ is now deprecated. I remember using VisualjQuery and the filters do not have an @…
$("textarea[name=my_field_name]").val(); |
Thanks to Simon…
wow, didn’t know that is possible… thanks for sharing!
I am contacting you through this contact form as there was no email address available. We would be interested in purchasing advertising on your blog. Please get back to me using the email address I have entered if you would be interested in discussing this further
the @ is deprecated now I think. So just use:
textarea[name=my_field_name]
etc
Thank you so much for writting the jquery selector for textarea.
it helps me in selecting textarea with name