Search Results

Search found 4 results on 1 pages for 'user187870'.

Page 1/1 | 1 

  • How to save search, choose a recent search and then populate the form using jQuery and/or asp.net

    - by user187870
    I want to do something similar to what priceline does. It saves the recent searches in a dropdown menu. When you pick one from the recent search. The form will be populated accordingly. (See screen shot http://yfrog.com/5fscreenshot20100501at105p) This is what I am thinking. (1) Save the searches into an array in a cookie (2), when a recent search item is chosen, retrive the corresponding array element from the cookie and then populate the form. What do you think is the best way to implement this? I especially want to know how to save the form entries into the cookie and how to populate the form.

    Read the article

  • Javascript setFullYear

    - by user187870
    var currentDate=new Date(); currentDate.setFullYear(2011); alert(currentDate); == this works, it sets the year to 2011 as expected. alert((new Date()).setFullYear(2011)); == this one doesn't work. Any idea why? Am I misunderstanding the syntax?

    Read the article

1