JQuery AJAX: Troubleshooting Search Bar & XML Input

  • Thread starter Thread starter camel-man
  • Start date Start date
  • Tags Tags
    Input
AI Thread Summary
To retrieve user input from a search bar and display information from an XML file, it's essential to ensure that the event listener for the button click is correctly set up to capture the input. The user needs to read the value from the search bar when the button is clicked, which can typically be done using JavaScript. Once the input is captured, the next step is to parse the XML file, which can be achieved using methods like XMLHttpRequest or Fetch API in JavaScript. After parsing the XML, the relevant information can be filtered based on the user's input and displayed on the webpage. Resources such as MDN Web Docs provide comprehensive guides on handling user input and working with XML in JavaScript, which can be beneficial for troubleshooting and learning.
camel-man
Messages
76
Reaction score
0
I am having trouble getting the users input in a search bar, and returning back information. I do not know where to start. The information being read is in an XML file. I have the search bar up and the user can type in it, I also have a button that can be clicked, however nothing happens when clicked. I do not know how to read the search bar info and display what the user is asking. Can anyone link me to any helpful websites or perhaps know a few things about how to do this. Thank you.
 
Technology news on Phys.org
Can you post what you have so far?
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Back
Top