Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqgrid no click field
01/02/2013
16:14
Avatar
pelirr
Member
Members
Forum Posts: 4
Member Since:
30/05/2011
sp_UserOfflineSmall Offline

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

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
22 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information