views:

425

answers:

0

I am using a class in which I am loading some text and images in browser field by using html tags.Now I want to change the text dynamically, how to refresh the browser field once after loading the screen.

If I use onclick tag on html to detect the click event then How to use java scripts to do some functionality for that click event. I am using document.getElementById to change the styles which I am using in my broserfield. How to reload the browser field or java scripts to view the updates.

How to use executeScript() to execute the javascript, simply added the string executeScript("javascript:(function() { " + value +"})()"); Value is the string where i used document.getElementById to get the elemenet id. Its not working.

Thanks.