I am new to jquery and Im trying to get the input values for specific
input field names on the current active window.
the html looks like this:
<input type="HIDDEN" name="MRN" value="123456789">
<input type="HIDDEN" name="NAME" value="John Doe">
<input type="HIDDEN" name="DOB" value="1920">
<input type="HIDDEN" name="SEX" value="F">
so id like to have a variable MRN=123456789 and Name=John Doe etc...
this code doesnt seem to work:
var url = Application.activeWindow.activeTab.document.location.href;
var MRN = jQuery("input[name=MRN]",url).val();
pblock.innerHTML="Getting MRN " + MRN;
Any help would be appreciated thank you,
Jordan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---