Reading from global resource file in javascript function
-
Hi, can anyone please tell me how i can read from a global resource file in my javascript function? I need to show the message which will be there in a resource file on alert message. Can anyone tell me ?
deep7 wrote:
how i can read from a global resource file in my javascript function?
I think you can't do this. You can take this value at the server side and put that to hidden textbox. Then you can show this message with javascript alert
Sincerly Navaneeth My Website
-
deep7 wrote:
how i can read from a global resource file in my javascript function?
I think you can't do this. You can take this value at the server side and put that to hidden textbox. Then you can show this message with javascript alert
Sincerly Navaneeth My Website
-
deep7 wrote:
how i can read from a global resource file in my javascript function?
I think you can't do this. You can take this value at the server side and put that to hidden textbox. Then you can show this message with javascript alert
Sincerly Navaneeth My Website
There is no need for a hidden field. The text can be placed in a javascript variable during page load or init.
only two letters away from being an asset
-
Hi, can anyone please tell me how i can read from a global resource file in my javascript function? I need to show the message which will be there in a resource file on alert message. Can anyone tell me ?
Although placing the text in a javascript variable during page load would work, you can also make an AJAX call to retrieve the message from a resource file.
only two letters away from being an asset
-
deep7 wrote:
how i can read from a global resource file in my javascript function?
I think you can't do this. You can take this value at the server side and put that to hidden textbox. Then you can show this message with javascript alert
Sincerly Navaneeth My Website