Jump to content

Onclick help


silenthunter

Recommended Posts

howdy everyone

 

      I'm not good with Javascript. but I know this can be done in javascript.

 

I have a php event calendar and the event days are links. I want the links to be Onclick and have a table under the calender to expand and show the events for that day. (it will need to pull the id from php into javascript and back to php)

 

can someone help me?

 

 

Link to comment
Share on other sites

What you need to do since your using both php and javascript is preform a AJAX request through Javascript. If you are unfamiliar with Javascript and how to script in a style where you can impliment PHP and various other scripting techniques I would say look into "jQuery" its by far the oldest and most mature of frameworks for the WEB 2.0 era, and has a huge community of people who can help you build everything or anything you could possibly want.

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.