You need to sign in to do that
Don't have an account?
I have Jquery visualforce code but its not working
<apex:page sidebar="false">
<script src="{!URLFOR($Resource.iVol_Resources, '/js/jquery_latest.js')}"></script>
<script src="{!URLFOR($Resource.iVol_Resources, '/js/jquery-ui-git.js')}"></script>
<script type="text/javascript"/>
<script type="text/javascript">
var $jq = jQuery.noConflict();
jq$(document).ready(function()
{
jq$("#ton").click(function(){
jq$("p").remove(".italic");
});
});
</script>
<body>
<p>This is a paragraph in the div.</p>
<p class="italic"><i>This is another paragraph in the div.</i></p>
<p class="italic"><i>This is another paragraph in the div.</i></p>
<button id="ton">Remove all p elements with class="italic"</button>
</body>
</apex:page>
Hi,
This is my code , but i implemented in Visualforce Page but its not working , no errors ,,,
but static resources stored ivol_resources
can u anyone help me ....
Regards,
Ganz
<script type="text/javascript">
var $jq = jQuery.noConflict();
$jq(document).ready(function()
{
$jq("#ton").click(function(){
$jq("p").remove(".italic");
});
});
</script>