[Solved] Requesting content without reloading the page [closed]

Try this: http://shaquin.tk/experiments/select-ajax2.html. HTML: <select name=”select-choice” id=”select-choice”> <optgroup label=”News”> <option value=”feature”>Feature</option> <option value=”current”>Current</option> <option value=”research”>Research</option> </optgroup> <optgroup label=”Archive”> <option value=”archive”>Archive</option> </optgroup> <optgroup label=”Video”> <option value=”video”>Video</option> </optgroup> <optgroup label=”Submit”> <option value=”story”>Story</option> <option value=”event”>Event</option> </optgroup> </select> <div id=”article”>Please select an article to view.</div> JS: var origText=””; $(document).ready(function() { origText = $(‘#article’).text(); $(‘select’).on(‘change’, changed); }); function changed(e) { … Read more