Jump to content

How to Pass a php value to a javascript pop up


chauhanRohit

Recommended Posts

  • 2 weeks later...

Well, it all depends on where the variable is being stored in PHP. For instance, if you are getting the variable via the POST method from a form. Javascript already has functions built in to get these types of variables from the URL via parsing, but you have to break it down first. It just really depends on what you are trying to do. I find that almost 80% of time, it's not necessarily if the code can DO something or not. It's really the logic behind the execution of the challenge. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.