0
votes
1answer
55 views

How to change my code to jquery

I have wrote few function that grab the values from a form page and pass them to PHP is there a way to write it better function resultstype(form) { var ...
1
vote
2answers
266 views

Using AJAX to look up MySQL value using two dropdown inputs

I have a list of cities, and a set of "travel time" between any given two cities. The "travel time" is fixed and not necessarily dependent on absolute distance between the two cities, and it currently ...
3
votes
2answers
154 views

Better way to return data via AJAX?

Let's say I have three files: a page that is used for searching data called search, a file that handles requests called controller, and a file that has functions which the controller calls based on ...
1
vote
1answer
102 views

Sorting with combobox

i need some help from you :)...when we select 'info' list in the combobox,automatically the article with type 'info' charateristic showed up, and when we select 'Berita' list in combobox,automatically ...
0
votes
1answer
82 views

How can I improve my search script? [closed]

I have this search script on my page which search through the displayed table. The table is displayed with PHP from a database. It is actually a list, and this list is sorted out alphabetically with ...
1
vote
1answer
100 views

<select> has extra blank <option>'s and I have no idea why. please help me get them out [closed]

This is the result of the code it has extra option tags no idea why. I have no idea why It produces the extra option box. Below is the result of the query. Correct number of rows correct ...
2
votes
1answer
451 views

Polling script to determine the continuous time a user has been connected

I've been asked to keep track of how long a user has been connected to a site without interruption. So far the solution I've come up with is to use ajax to poll the site every now and then to check ...