-
`Hi shubham hope it will work for you :-
-------- visualforce page --------------
<script>
function scriptcalling()
{
alert('I am here');
}
</script>
-------- apex class --------------
public class calljavascript
{
public string callscript{get;set;}
public calljavascript()
{
callscript='<script> scriptcalling(); </script>';
}
}- This reply was modified 8 years, 7 months ago by Sourabh.
- This reply was modified 3 years, 5 months ago by Forcetalks.
- This reply was modified 3 years, 5 months ago by Forcetalks.
- This reply was modified 3 years, 5 months ago by Forcetalks.
- This reply was modified 3 years, 5 months ago by Forcetalks.
- This reply was modified 3 years, 5 months ago by Forcetalks.
- This reply was modified 3 years, 5 months ago by Forcetalks.