I'm a bit lost on this with html5 -

The datasrc attribute on the select element is obsolete. Use script and a mechanism such as XMLHttpRequest to populate the page dynamically..

Does this mean that I will have to change everything into a ajax format?

4 Years
Discussion Span
Last Post by diafol

I thought that this was just for IE5? I believe this was dropped in XHTML 1.0
Did it ever work in other browsers for you?
Can you give an example of how you're using it?

<form name="xx" action="xxxxx.php" method="get">

      <select name="xx1"  class="xxxcontain" id="xsearch" datasrc="xxxt.php" >

     <input name="submit" type="submit" value="Find" />


Edited by xbat


yea it actually works in everything that I know of. However I need to change.. because html5 doesn't like it.. the question is to what or how? Im not sure which direction i should head? like if I have to build a whole javascript script... ? or redo my php somehow..

Edited by xbat


I found a differnet way to do this jquery which is not obsolete according to the new html5. I will mark this solved. Thanks for everyones help.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.