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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.