I have a form inside an iframe, now I want to get the input with certain name. The id of my iframe is "myFrame". I was able to take out the inputs inside the iframe by $("#myFrame").contents().find("input") but i want the input by name, so i did $("#myFrame").contents().find("input[name=input_id]") but with failure. Can anybody help me with this?
Add a comment
|