Forum
16:14
30/05/2011
Hello, I am trying to remove an event from a field, and I know not how. I am using jqGrid. I have a form field that is read-only, but in which I can click with the cursor. What I want is that the user can not click on the field, the same thing happens when you disable a select, do not let not even click on it. I've been looking online, examples to disable the event, with
event.preventDefault () or. unbind ("click"),
but I have not received results. I do not know even if I have to disable the event, or is there some property that allows me to do what I want. For example, if I want I can change the style attribute or property access style:
$ ('# FlightNumber', formid). attr ('style', 'border: # AFAFAF; color: # 6D6D6D');
if you want to hide the field:
jQuery ('# tr_flightNumber', formid). hide ();
I do not know how to do what I want.
Could someone help me out? The field in question is of type textfield.
Thank you very much, greetings
Most Users Ever Online: 715
Currently Online:
60 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66