Skip to content
Advertisement

How to hide the value of a javascript function?

I have looked through several questions and have not found what I am looking for. In my code creating a table from a mysql query. Each cell is a link to a javascript function and I would like to pass the value to the function to be processed. I would like to know how I can hide that value from someone and still pass the value. I am new to javascripting and need a little help.

How can I hide:

JavaScript

From someone viewing source code?

JavaScript

Advertisement

Answer

if you want to hide in the link then you can use PHP ‘post’ method:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement