Hi Madison,

After a quick glance, the only thing I see in the .js file that will break when you upgrade to the latest jQuery is .oneclick(function() {}). You'll need to change that to .one('click',function(){}).

You might also want to change the $.get() to $.getJSON(). That way I think you'll be able to avoid the eval.

Otherwise, looks like it will work as expected, though I don't know for sure about the DOM-creation plugin.


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On May 8, 2007, at 9:05 AM, Madison Bryan wrote:



I am the webmaster of a university and we have been happily using jQuery since last summer when we redesigned the university site. The build we are using is from May 12, 2006 (yes, yes... I know) and now we want to migrate to the current release.

There is one place that I'm not sure the best way to migrate. On our combo search, I use ajax to get the people results and place them in the sidebar...

http://www.westga.edu/index_combo-search.php?q=its

To build the DOM I'm using...

http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and- prototype#comment-176

If you want to see our code: http://www.westga.edu/assets/js/ search3.js

I like how elegant this method is. How do you guys think I should migrate this code?

Thank you!
Madison

Reply via email to