iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Onece again I hit the lack of JavaScript reference for the Intersoft controls.
I have to disable a WebButton in JavaScript. How do I do that? I have tried:var wb = ISGetObject("<%=c_wbRetrieve.ClientID %>");alert(wb.Enabled);c_wbRetrieve().Enabled = "false";alert(wb.Enabled);
In this case the first alert shows "true" and the later alert shows "false" as expected. However the web button does not become disabled. It can still be pressed.So probably I have to call a SetEnable() og SetDisable() or whatever. How should I know as I can nowhere find the Javascript documentation for WebButton.
You can set disable by using Disable() method or Enable() for enabling.
e.g
function Enable() { var button=ISGetObject("WebButton1"); button.Enable(); } function Disable() { var button=ISGetObject("WebButton1"); button.Disable(); }
Hope this helps.
Regards,Handy
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname