Hello friends following is my code please tell what is the mistake i am not getting why its not alerting tell the mistake so what i can also make it out.
<script type=“text/javascript”>
function Show(hello)
{
var nick= hello;
//var hai=hello;
//alert(hai);
//var nick = hai;
alert(nick);
//alert(dataString);
$.post("execut.php", {nick:nick}, function(data){
if(data=='Yes')
{
alert("hello");
}
});
}
</script>
Hello friends here i am passing an value through the parameter function and i need to pass it to the php page where it not passing and giving the alerting hello why?? i have echoed hello in the php page… please check it and give me an answer.