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: IE8 issue with empty Select elements

2009-05-28 Thread Randall
> > > I took a look at the URL you posted Randall and it looks like it > > errors out when trying to validate an empty select box. Updating the > > subject to reflect this. > > > On May 27, 12:58 pm, Randall wrote: > > > > I have the same problem with t

[jQuery] Re: IE8 Does Not Work

2009-05-27 Thread Randall
I have the same problem with the following error: Object required on line 875 of jquery.validate.js. URL: http://www.ixcape.com/staging/account/create.php On May 26, 5:34 pm, Jonathan wrote: > It works in IE8. What errors are you getting? > > Need more details. > > On May 26, 1:44 pm, rickmata

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

2009-03-13 Thread Randall Morgan
help. Sincerely, Randall On Fri, Mar 13, 2009 at 12:14 PM, James wrote: > > Yes, any new code introduced via something like AJAX would not have > the events binded automatically. > > Using jQuery, you have basically two options: > - re-bind the event again > - use the new li

[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
l now make the changes to my code and see what happens. Sincerely, Randall On Thu, Mar 12, 2009 at 3:25 PM, James wrote: > > If you don't have any other classes galleryNavHA in your code nothing > will happen. Though it might be very minor overhead since jQuery will > try t

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

2009-03-12 Thread Randall Morgan
ys of doing ajax and using jquery. It seems to have some amazing functionality built into it. Thanks again, Randall On Thu, Mar 12, 2009 at 2:46 PM, James wrote: > > The issue is not the anchor tag around the image. The issue is how > your events and actions are working. This is what

[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

[jQuery] Re: [validate] possible/how-to validate all forms on page with given class and/or name?

2008-01-29 Thread Randall J. Parr
Jörn Zaefferer wrote: > > Randall J. Parr schrieb: >> [...] >> All of the above selectors seem to work when tested in firebug; that >> is, the proper line items (forms) are found. >> >> 1) Is it possible to validate one or more forms in a given page based &g

[jQuery] [validate] possible/how-to validate all forms on page with given class and/or name?

2008-01-28 Thread Randall J. Parr
I am new to jQuery and to the validate plugin. In fact, my initial use of jQuery is to try to use the validate plugin. So, please, bear with my possibly stupid questions. I have worked with all the demos and have them working fine in my environment. I have lifted and stripped down the demo.