Hey Guys,
I'm pretty fluent with HTML, PHP, and Java and at the moment am trying to get a dynamic site working. My problem is javascript, I have looked in a lot of places for help but never finding anything. What I have is an <input type="hidden" value=""> inside a form that sends to a php script that preps the information elsewhere on the site, also on the page I have <li> tags that are generated by php and include a name between the open and close tag with an id attribute. What I need to happen in javascript is to obtain that id when a user clicks on the <li> and use that as a variable to change the value in the hidden input and do some other things like change a nearby picture and make some ajax calls, I have so far had no success in getting the variable to change OR get the value to change. If anyone has any advice that would be awesome. I thank you for whatever help is possible!
