I dont really have code for this but here it goes.

First of all I have basic knowledge of JavaScript and have moderate knowledge of php.

What I am trying to do is when someone click on a link. It will display a hidden form via Javascript modifying CSS(which I can do).
What I have no idea on how to do is update the input fileds so that it shows information about the the link. Basically I want it to fetch data from Mysql and put the data in their fields.

Also there can be multiple links on the page and that is why I dont want to load almost identical forms multiple time while disabling their display through CSS.

Is it even possible... If you think it is not possible can you suggest any alternatives. Thanks

Just write to the form elements in the same way you read form elements, but with the element on the left side of the =.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.