Hi,
I am using tag in html, but i dont know how to find that tag from html and display values in it runtime.
Hi,
I am using tag in html, but i dont know how to find that tag from html and display values in it runtime.
Hello! To do that use json methods http://api.jquery.com/category/traver...
hi, can you provide me some syntax how to find if there is canvas element in html component
Lets say you have an HTML line like that
code <div id="myDiv">Hello World</div> /code
which result is: Hello World
And now you want to change it to : Hello Europe
In a nutchel use this code : code$('#myDiv').text("Hello Europe");/code
Explanation
1)Select your div tag with myDiv id ,using jQuery
code$('#myDiv')/code
2)change text of the tag, usign jQuery.
code.text("Hello Europe")/code
Now if you want that to happen when the user press a button you have to add an eventClickRun Javascript
Copy-Paste your code
preif (!Appery("htmlComponentName").find("canvas").length) {
//there is no canvas in htmlComponentName
}/pre