• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An AJAX How?

[eluser]Kyle Johnson[/eluser]
I downloaded some premade functions for the jQuery portion of it, it doesn't use JSON, but it seems to work as advertised, with a lot of extra [could be read: bloat] functionality too.


I am looking through the code/documentation/css provided to understand a bit better. The code is currently using $.get instead of my preferred $.post so I will have to look at how to convert the function that passes the URL to the function, as it appends the data in a proper fashion.

****Also, I commented out all the comments of "addToCache" within the jquery.autocomplete.js file as it was caching all the data even when turning off the cache. Very strange behavior, but with the commented out sections it works just perfectly. Smile ****

I think my JSON requests weren't properly formatted as array objects but rather numerous JSON objects themselves. I'm not too sure which, because JSON is new to me. Each row was being returned {"suggest":"Some Text Here", "id":"1234"}{...etc}

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.