@Fox said in Important changes in BAS customer support:
emium support will help in organizing the script logic in BAS, but it will not parse
Ok. to tell you the truth i do not want to parse the script anyways i want simple examples so i can learn BAS through the process :). i will proceed to purchase that next few days thank you
@andykaufseo
Hope that really answered your problem. Can also use the "Select Records" command, change the Table to the second one and add any filters you need. This will return all records in a list and using the Foreach will get the job done.
Allister ☯
@darkstone said in Get element attribute from custom interface:
@fox i mean i need to get $('element').val() and store it on a variable that can i used inside BAS
Code for the "Run javascript in web interface" action:
Api.SetGlobalVariable("GLOBALVARIABLENAME", $('element').val())
It is better to hang the handler on this element so that when it is changed, it writes the result to a global variable. In this case, the global variable will always contain relevant information:
$("#element").change(function() {
Api.SetGlobalVariable("GLOBALVARIABLENAME",this.value)
});
@super84 I've read it. But I don't understand how it works. Can you make a video about it. Thank you so much
I tried running with the following link: C:\Users\Administrator\Desktop\akm
This directory is empty. After running it, nothing happens.
@andy231 said in Enforcing UNIQUE KEY constraint in BAS database ?:
This can be done when i am using remote database but is it possible to apply in local database ? i want to prevent duplicate entry in database .
Only with a filter on the content of the data in the table.