Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Focus on field in form

No Tags
UserPost

21:25
07/08/2012


JoeWhitlock

Member

posts 3

Anyone have an example of how to focus on a field inside of the afterSubmit function?  The following works in my edit section:

afterShowFormfunction (formid) {
$("#fidesc", formid).focus();


 

: 

21:06
16/10/2012


ppr

France

Member

posts 12

Post edited 21:07 – 16/10/2012 by ppr


Hi Joe,

You have to do the same call also in


afterComplete : function (response, postdata, formid)  event

and in


 afterclickPgButtons: function(whichbutton, formid, rowid) event

(for the case of the click on next and previous button)


Best regards

Phil

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

tony

80 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9589

Posts: 28779

Membership:

There are 10152 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7008 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information