Jump to content
php.lv forumi

jquery post


NBS

Recommended Posts

Man ir šāds kods:

<html>
<script type="text/javascript" src="jquery-1.5.1.js"></script>
<script type="text/javascript">
$.post('max.php', { userid : '<?php echo $row[0]; ?>'} , function(x) {
 var max_r = x;
 $("#1").html(parseInt(max_r));
 $("#2").html(parseInt(max_r));
 $("#3").html(parseInt(max_r));
 $("#4").html(parseInt(max_r));
 $("#5").html(parseInt(max_r));
});
</script>
</html>

 

Kā var paslēpt šo "max.php" failu, lai view source to neredzētu ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...