• 0

drop downbox help (javascript/ajax/php) unsure lol


Question

Ok im normally good at finding this infor but tonight im not having much luck at all!

Basically what im trying to achieve is when the user selects from the option list below it will automatically refresh the page/load it below the selection box, one the page has loaded the person can do what they require to do within that area (admin pages) its basically going to be if users selected display users, if sold display that. Hope im explaining this well but im guessing im not :/ A tutorial or something would be nice, so i can read about it i dont want a submit button.


[color=#990000][size=1]<select name="select_box" >[/size][/color]
[color=#990000][size=1] <option value="">Please choose</option>[/size][/color]
[color=#990000][size=1] <option value="1">Index</option>[/size][/color]
[color=#990000][size=1] <option value="2">Sold</option>
[/size][/color][color=#990000][size=1] <option value="3">users</option>[/size][/color]
[color=#990000][size=1]</select>[/size][/color]

Thanks to all that help

7 answers to this question

Recommended Posts

  • 0

Yes Alex, i want a select box like that then with the page refreshes on choice or there is no refresh but the data is displayed, so if users was selected users would be displayed but on the same page, if it was sold then the sold info is displayed i dont want multiple pages when it could all be combined if that makes sense.

  • 0

Yeh im kinda relearning my limited php, css and html then i have an idea in my mind figure i need anothr language search for 2 hours ask for help then go hang on im doing what i always do complicate things! lol

Thanks anyway Alex

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I don't have a problem with adverts, I not fond of the tracking. My main problem is when you have to keep clicking close to remove them before you can see anything On the site. The ones that keep updating and moving stuff around as they are different sizes are as bad. Neowin is not too bad with Adverts, but ones that keeps updating or have animation can be distracting when reading something, like the one showing now, about how much should I walk to lose weight. I realise sites need adverts to survive, but stop changing them every few seconds.
    • SQL Server Management Studio 22.7 brings "What's New" page, T-SQL formatting, and lots more by Usama Jawad SQL Server Management Studio (SSMS) is the tool of choice for most developers working with SQL infrastructure and data. Microsoft recently released SSMS version 22, and in the past few months, it has been steadily releasing point upgrades to refine the integrated development environment (IDE). Now, it has released SSMS version 22.7.0 with a bunch of new features and interfaces. For starters, SSMS 22.7 has netted a native "What's New" page, which highlights the top features and bug fixes present in the latest release. However, Microsoft says that this page won't annoy you much as it will only show up each time you update SSMS, and once you dismiss it, it won't be shown again to you until the next release. Secondly, Microsoft has finally introduced T-SQL formatting inside SSMS. The good thing about this is that it does not require installing any additional components, as it is built into the native experience. All you have to do is right-click the query editor window and select Format SQL from the context menu. Additionally, you also have several customization options at your disposal, such as the ability to automatically place semicolons at the end of a statement, split clauses across multiple lines, and more. However, this capability is only in preview for now. Additionally, Microsoft has introduced a preview of Agent Mode, which allows the AI model to automatically perform complex workflows on your behalf. Furthermore, Agent Mode will operate in read-only mode by default, so that you don't have to worry about the AI model accidentally deleting your data. On a related note, Microsoft is finally allowing users to configure the execution context of GitHub Copilot. This can be controlled per database using the CONSTITUTION.md file, where you specify the user details for the agentic executor. You can find details about this and additional bugfixes in Microsoft's blog post here.
    • I only use 3 extensions in Zen. I don't need or want a ton of stuff in my browser i don't use.
    • I prefer to choose my own ad bockers, not what the browser seems to think I need. i remember the days when a browser was just that, now they try and be everything and add stuff in that not all of us want. I bet Brave is full of AI rubbish? I will stick with Zen, not perfect, but better than others.
  • Recent Achievements

    • One Month Later
      johnjacobb40 earned a badge
      One Month Later
    • One Year In
      Primer1st earned a badge
      One Year In
    • Experienced
      JayZJay went up a rank
      Experienced
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      513
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      144
    4. 4
      ATLien_0
      86
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!