Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

disable button in html 5.0 based on one property

midani222midani222 Posts: 2Member
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.
Sign In or Register to comment.