You need to sign in to do that
Don't have an account?

Reg: passing Id
<script>
function x(id)
{
-------
}
</script>
<apex:pageblocktable ---------- var="x">
<apex:commandlink value="{!x.name}" onclick="x({!x.Id})"/>
</apex:pageblocktable>
It is not working.
How can i pass record id from page block section to javascript function.
please suggest me!
Thanks
ANKITA
Try this :
It will work for you :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Try this :
It will work for you :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Thanks Ankit.
My mistake is,
I used Id instead of id.
Regards:
ANKITA
That's why I hate javascript ;)
Thanks
Ankit Arora
Blog | Facebook | Blog Page