i've a html page that is made quite like this:
<table id="all">
<tr><td><input type="text" name="search[id]" id="search[id]"></input></td></tr>
<tr><td><input type="text" name="search[name]" id="search[name]"></input></td></tr>
..........ecc ecc..........
</table>
i want with javascript or jquery achieve an array made like this:
{
id:"<value in search[id]>",
name:"<value in search[name]>",
....ecc ecc...
}
the keys of the array aren't static so i can't name them statically in the code. i tried with $("#search") but i haven't been lucky :( Thank you very much for the help! and sorry for the noob question!
$("#myformid").serializeArray()?