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
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top