selcted input name jquery code example Example: select a form by name jquery var frm = $('form[name="frmSave"]');