Jump to content

Javascript to PHP or need a different method?


Boo-urns

Recommended Posts

My problem at the moment, is that I'm having a photogallery with a recordset being filtered by photogallery id.  Ok that is no problem, then when they browse through the pictures it will display in a separate div the larger picture. 

 

Then i have add a comment to that particular picture, i have everything going great however I can't figure out how i will filter the correct comments.  Is there a way to pass a javascript variable to PHP on the same page w/o going to a new URL?

 

Maybe its an easy answer but i'm stuck  :-\

Thanks in advance

 

Corey

My new idea is to use a URL, and when a hidden input field changes go to that URL but when i am doing a onchange for the hidden field its doing nothing! As when the text field gets the value i guess it doesn't think it is changing.  I guess i could do it when they want to see the comments? For an onclick but that wouldn't be very good UI.  Any suggestions?

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.