Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

disable button in html 5.0 based on one property

$
0
0
BoardManager.prototype.OpenViewReplaceCurrent = function(viewid, vrid, tableid, recordid) {
this.setRecordID('');
b = new Board(recordid, '0', tableid, viewid, vrid);
this._ReplaceCurrent(b);
this.LoadView();
}

I have this javascript above. I need to be able to compare the

recordid
tableid
viewid
vrid

to what is being passed in and gray out an edit button.

I have looked and looked for examples and do not know what to do about this. Any help would be appreciated.

Viewing all articles
Browse latest Browse all 2703

Trending Articles