117
rated 0 times
[
123]
[
6]
/ answers: 1 / hits: 18800
/ 11 Years ago, tue, april 30, 2013, 12:00:00
Let say I have the following javascript
function blob(alertText) {
alert(alertText);
}
I would like to call the function within my view. something like:
<% if (x == 0)
//Need to Call the javascript function here. e.g. blob(sometext);
%>
How can I call the the javascript function within the enclosed if statement in my view?
More From » jquery