Jump to content

Recommended Posts

how would i get a option menu to load a new page into the div below  when you click on the options. I know how to do this with just links and everything but im not quite sure about a menu like this, its also automatically generated depending on the classes available.

 

 

I want to load an external php with a dropdown menu (different options for different results). this is the kind of dropdown menu:

 

<select name="">
  <option value="#home" selected>English 12 CCP</option>
  <option value="2">English 12 MOD</option>
  <option value="3">English 12 HAP</option>
  <option value="4">Poetry E</option>
</select>

 

Basically this would be an attendance function, so when u click English 12 CCP it loads the students in that course, and the same for the other classes, each one would load different students, and it would only update the div that holds the students names so it doesn't reload the entire page.

 

I know how to do this with regular links <a href=""></a> but not sure about doing it with each option

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.