Try this: <script src="jquery-1.2.6.min.js"></script>
<script> $(function() { alert($("input[id$='home']").val()); alert($("input[id$='street']").val()); }); </script> <form id="phone"> <input id="home" value="This is the value of phone:home" /> <input id="phone:mobile" /> </form> <form id="customer"> <input id="customer:name" /> <input id="customer:city" /> </form> <form id="address"> <input id="address:street" value="This is the value of address:street" /> <input id="address:zip" /> </form> Adrian On Oct 6, 6:27 am, Faisal Basra <[EMAIL PROTECTED]> wrote: > Yes, right Morningz looks like this. > > <form id="phone"> > <input id="phone:home" /> > <input id="phone:mobile" /> > </form> > > <form id="customer"> > <input id="customer:name" /> > <input id="customer:city" /> > </form> > > <form id="address"> > <input id="address:street" /> > <input id="address:zip" /> > </form> > > i want to access input fields, just only specifying home, mobile,name, > city, street,zip & not as form:input > please any way ?