Re: [jQuery] Response converted to entities after file upload

2010-02-17 Thread Randall Morgan
Are you using a Php framework? If so, does it do output filtering? If not, can you show me your Php code? Randy 2010/2/17 Lay András laysoftjqu...@gmail.com: Hi! If i have a file upload input in my form, after submit the html codes in the response data converted to their entities:

Re: [jQuery] Response converted to entities after file upload

2010-02-17 Thread Randall Morgan
that phpinfo() will show something that is filtering your output. 2010/2/17 Lay András laysoftjqu...@gmail.com: Hello! On Wed, Feb 17, 2010 at 5:56 PM, Randall Morgan rmorga...@gmail.com wrote: Are you using a Php framework? If so, does it do output filtering? If not, can you show me your Php code

Re: [jQuery] Response converted to entities after file upload

2010-02-17 Thread Randall Morgan
You may want to remove the $header method. PHP should send the content-type text/html header by default. Randy On Wed, Feb 17, 2010 at 11:41 AM, Randall Morgan rmorga...@gmail.com wrote: A couple of things to try. First, run phpinfo() and look through the output for anything that could

Re: [jQuery] Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread Randall Morgan
Hi, I'm not sure what DBMS you are using but most can sort many ways. You may want to read your DBMS manuals and look for a natural sort method. MySQL uses something like ORDER BY column_name NATURAL ASC or ORDER BY column_name NATURAL DESC. Somewhere on the net should be an old thread about

[jQuery] Replacing a portion of an href value

2010-02-01 Thread Randall Morgan
Hello, I have the following code which is part of a loop to add preview images to a filmstrip where each cell is made up pf a div. My filmstrip uses a tiny bw version of the image which is stored in the images/s/ folder. My preview images must come from the images/m/ folder. I have tried using

Re: [jQuery] Replacing a portion of an href value

2010-02-01 Thread Randall Morgan
Hi, actually my image names (35 of them) as coming from an ajax call and I loop through the results assigning the images to the filmstrip cells. Then I setup the mouse overs for the popup preview. If this were php or C I'd have not trouble. But with Javascript and JQuery I'm lost... On Mon, Feb

Re: [jQuery] Replacing a portion of an href value

2010-02-01 Thread Randall Morgan
Hi All, I figured it out. I was making it far more complex than it needed to be ;-) this.href.replace('/s/', '/m/') Thanks, On Mon, Feb 1, 2010 at 6:31 PM, Randall Morgan rmorga...@gmail.com wrote: Hi, actually my image names (35 of them) as coming from an ajax call and I loop through

Re: [jQuery] Lists, Filtering and Searching, Oh My!

2010-01-19 Thread Randall Morgan
Would it not be better to provide a server side script such as php or asp to allow a paged, sorted, ajax call. Even if you put all this data in an access database or xml file the server side script can parse and return a small chuck of data reasonably fast. At 1800 records I'd opt for a database

[jQuery] Looping help

2010-01-11 Thread Randall Morgan
Hello, I'm still pretty new to JQuery and I need to figure out how to loop over a json array and assign the array values to each of a list of divs. What I need to do is fill each filmstrip-cell with an image tag and set the source to the current value in the array. The array contains urls for

Re: [jQuery] Looping help

2010-01-11 Thread Randall Morgan
On Mon, Jan 11, 2010 at 10:25 PM, John Arrowwood jarro...@gmail.com wrote: What does your JSON array look like? On Mon, Jan 11, 2010 at 9:23 PM, Randall Morgan rmorga...@gmail.com wrote: Hello, I'm still pretty new to JQuery and I need to figure out how to loop over a json array and assign

Re: [jQuery] How should I structure this?

2010-01-04 Thread Randall Morgan
On the backend you could add a timestamp for when items are added to the database. Then your query would return anything with a timestamp newer than the last time you asked for items. in client js: last_request = time(); Then send the time along with your request to the server script. on the

[jQuery] Re: ajax.load(url) working in IE only

2009-03-13 Thread Randall Morgan
outside of the HTML also. On Mar 12, 11:18 am, Randall Morgan rmorga...@gmail.com wrote: Hi Yes, I have the anchors because I need to insure there is some functionality when js is not available. I have used anchors with my own ajax code without issue as long as I return false from the js

[jQuery] Re: ajax.load(url) working in IE only

2009-03-13 Thread Randall Morgan
Delegation. (Nice read: http://lab.distilldesign.com/event-delegation/) On Mar 13, 7:00 am, Randall Morgan rmorga...@gmail.com wrote: Ok, I have a question. My changes seem to work the for the first click but not on subsequent clicks on the navigation. I suspect that the binding is lost

[jQuery] Re: ajax.load(url) working in IE only

2009-03-12 Thread Randall Morgan
Hi Yes, I have the anchors because I need to insure there is some functionality when js is not available. I have used anchors with my own ajax code without issue as long as I return false from the js function call. Is this a known issue with JQuery, that you can't provide a default action for an

[jQuery] Re: ajax.load(url) working in IE only

2009-03-12 Thread Randall Morgan
/30big.jpg //a This keeps the Javascript outside of the HTML also. On Mar 12, 11:18 am, Randall Morgan rmorga...@gmail.com wrote: Hi Yes, I have the anchors because I need to insure there is some functionality when js is not available. I have used anchors with my own ajax code without

[jQuery] Re: ajax.load(url) working in IE only

2009-03-12 Thread Randall Morgan
and put it in your BODY. It'll still run fine, but it is mixing Javascript with HTML, which isn't good practice. It's all up to you how you want to do it. On Mar 12, 12:03 pm, Randall Morgan rmorga...@gmail.com wrote: Ok James, just one question though. I am using CI-CMS and I have my gallery