Boo-urns Posted March 10, 2007 Share Posted March 10, 2007 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 Quote Link to comment Share on other sites More sharing options...
Boo-urns Posted March 10, 2007 Author Share Posted March 10, 2007 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? Quote Link to comment Share on other sites More sharing options...
fenway Posted March 13, 2007 Share Posted March 13, 2007 First, onchange doesn't work for hidden... but whatevery's changing the URL should be able to do it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.