[jQuery] Create a Select Box

2009-07-16 Thread tdktan...@gmail.com
So ive got a fun page where I need to create the dropdowns based on an array I pass into the html. (coming form php) However I cant figure out how to actually create a select box... I can however populate a select box that exists... Before Jquery does its stuff So heres what I need the end to

[jQuery] Changing query string from ?key=value to /key/value

2009-05-07 Thread tdktan...@gmail.com
So im using this framework called CodeIgniter anyways it allows query strings but by default I have turned them off. Instead a url would look like this: www.your_site.com/controller/method/key/value/key/value... However jQuery or the plugin datatables that I am using is generating it like this:

[jQuery] Re: Changing query string from ?key=value to /key/value

2009-05-07 Thread tdktan...@gmail.com
ponent(key) + '/' + encodeURIComponent (value); line: 3762 (or so) return s.join("&").replace(/%20/g, "+"); to return s.join("/").replace(/%20/g, "/"); which made it a valid query string for what I needed in the format www.myurl.com/controller/m