Hello,
I have a question regarding using a string that was preconfigured in a DEFINE function in AJAX.
This is what I have (that I want to change):
Code:
$('#entry_error .ui-state-error-text').html('Please enter the required fields');
If I try to do this, it doesn't work:
Code:
DEFINE('ENTER_FIELD','Please enter the required fields');
...
$('#entry_error .ui-state-error-text').html(ENTER_FIELD);
What's the proper way to use this constant in the AJAX command?
Thanks.