Jump to content

cfajardo

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cfajardo

  • Rank
    Newbie
  1. It's working now, Thank you!! Regards
  2. What I don't understand is why id doesn't work on the same the example http://www.w3schools.com/ajax/ajax_database.asp is written? Regards,
  3. Thank you for your response, So you mean that the value should be: <select name="carrera" onchange="showSubject(this.options[this.selectedIndex].value)" >? For the name of the pages, I renamed it, thank you, actually, the querystring is getting an id value, numeric value. Regards,
  4. Hi, I need to fill a drop-down box from another drop-down box in an ASP using AJAX, I was following the AJAX Database example, but I don't get the data, so don't know what am I doing wrong, could anyone please help me trying to figure out what's wrong or if you have an example of how to fill a drop-down box once you change the value of another drop-down box? here is my code: AJAX.JS function showSubject(str){var xmlhttp;if (str=="") { document.getElementById("materias").innerHTML=""; return; }if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttp
×
×
  • Create New...