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 wrote: > A couple of things to try. First, run phpinfo() and look through the > output for anything that could be filtering the

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

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

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 : > Hi! > > If i have a file upload input in my form, after submit the html codes > in the response data converted to their entities: > > http://bogex.hu/jquery_upl

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 NATURAL ASC or ORDER BY NATURAL DESC. Somewhere on the net should be an old thread about sorting mixed numbers and a

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 wrote: > Hi, > > actually my image names (35 of them) as coming from an ajax call and

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

[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 b&w 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

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 w

Re: [jQuery] Looping help

2010-01-11 Thread Randall Morgan
rt2\/photoshoots\/n\/PICT0846.JPG","http:\/\/localhost\/f-stopart2\/photoshoots\/n\/PICT0850.JPG","http:\/\/localhost\/f-stopart2\/photoshoots\/n\/PICT0848.JPG"] Thank you for you help On Mon, Jan 11, 2010 at 10:25 PM, John Arrowwood wrote: > What does your JSON array

[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 each

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 ser

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

2009-03-13 Thread Randall Morgan
ould not have to re-bind again later on. This is using a > technique known as Event Delegation. > (Nice read: http://lab.distilldesign.com/event-delegation/) > > On Mar 13, 7:00 am, Randall Morgan wrote: > > Ok, > > I have a question. My changes seem to work the for the firs

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

2009-03-13 Thread Randall Morgan
.com/index.php/gallery/getAjaxMainImage/4/101 > >http://hooker.dotnetnebraska.com/ > images/o/30big.jpg /> > > This keeps the Javascript outside of the HTML also. > > > > On Mar 12, 11:18 am, Randall Morgan wrote: > > Hi Yes, I have the anchors because I need

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

2009-03-12 Thread Randall Morgan
ou don't put the script in your HEAD 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 wrote: > > Ok Ja

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

2009-03-12 Thread Randall Morgan
AjaxNavH/4/101" href=http:// > hooker.dotnetnebraska.com/index.php/gallery/getAjaxMainImage/4/101 > >http://hooker.dotnetnebraska.com/ > images/o/30big.jpg /> > > This keeps the Javascript outside of the HTML also. > > > > On Mar 12, 11:18 am, Randall Morgan wrote

[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 an