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] Problem with slider if else. Please help.

2009-11-25 Thread Morgan
be greatly appreciated if someone could let me know what I'm doing wrong. Thanks in advance! Cheers, Morgan

[jQuery] jquery dialog - close if clicking outside dialog area?

2009-06-02 Thread Dennis Morgan
Is it possible to have the jquery ui dialog close when clicking outside the area of the dialog? Like facebox? Thanks.

[jQuery] Superfish

2009-05-16 Thread Donald Morgan
Hello: I can't get a second row of superfish menu to display correctly in IE. In IE the top menu displays underneath the second menu, even after fiddling with div z-indexes and .supefish.css. I also tried creating a seperate css file for the second menu, but renaming the classes to say,

[jQuery] How to loop iterate through a string of div elements

2009-05-13 Thread Morgan
Hey, I was wondering how I would be able to convert a string of html into a series of div elements that I can iterate through and perform jquery functions on, specifically .hide() and .slideDown(). For example, I retrieve a string from a jquery ajax call of html that looks something like this,

[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
); //$(.galleryMainImg).fadeIn(slow); $(.galleryNavDivCls).load(rel); return false; }); } Any help getting this to work would be greatly appreciated. Thanks, R Morgan -- If you

[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

[jQuery] Issue upgrading to 1.3

2009-01-14 Thread Joe Morgan
Hello, When I attempt to upgrade my site from 1.2.6 to 1.3, I get an unresponsive script error that causes my browser (both IE7 and FF3) to hang if the script is not stopped. I've tracked down the bit of script causing the problem: $(ul#loginSection li#emilyLogin:not(.loggedIn), ul#loginSection

[jQuery] Superfish Problem

2008-11-26 Thread Steven Morgan
Hi there, Firstly apologies if I've just spammed this list, the message didn't seem to appear after 24 hours within the Google Group when I used the Web interface. I'm a bit of jQuery and Javascript newbie so please bare with me. I've just implement the Superfish menu plugin, using the

[jQuery] Re: passing 0 to html() doesn't work like it does for other numbers

2008-06-17 Thread Morgan Allen
This has to do with the way JS evaluates true and false with 0. !0 == true. The simple fix is passing String(0), line 964 (in current svn) is the problem, if(!elem) return, change that to if(!elem elem !== 0) return. I will check for a bug report and submit a patch. On Mon, Jun 16, 2008 at 5:02

[jQuery] Re: passing 0 to html() doesn't work like it does for other numbers

2008-06-17 Thread Morgan Allen
I have noticed another really strange bug(?) here, numbers with a leading zero come out wrong. like 0123 ends up as 83. Stranger yet, 18 is 18, 19 is 19 but 20 is 16? But it does not appear to be jQuery. On Mon, Jun 16, 2008 at 8:57 PM, Morgan Allen [EMAIL PROTECTED] wrote: This has to do

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Morgan Allen
*http://mg.to/2006/01/25/json-for-jquery http://www.mail-archive.com/[EMAIL PROTECTED]/msg06247.html the second is a port of the original from json.org, I use that for my JSON requests. * On Thu, Jun 5, 2008 at 5:15 PM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be

[jQuery] Re: firebugExecuteCommand and $ becoming a function called anonymous

2008-06-04 Thread Morgan Allen
I was having that problem too, but I think upgrading to 1.2b1 fixed it. On Wed, Jun 4, 2008 at 10:00 AM, Peter Bengtsson [EMAIL PROTECTED] wrote: My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return

[jQuery] Re: filenames cannot contain spaces in jquery 1.2.5

2008-05-24 Thread Morgan Allen
This has to do with loading a specific element from the results. The url will except (space separated) the url then a selector of an element(s) to be be the replacement. This is useful for doing partial refreshed, $('#toBeUpdate').load('thisUrl #toBeUpdated'). While this is a nice feature, I am

[jQuery] Re: [OT] twitter

2008-05-20 Thread Morgan Allen
Twitterfox works ok, I have not tried anything else On Tue, May 20, 2008 at 12:48 PM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi friends, now that jquery uses twitter, i might give twitter a chance. Can you recommend a good way to use it? A twitter client? Which? i'm a bit afraid of

[jQuery] Re: Manipulating content generated after $(document).ready

2008-04-29 Thread Morgan Allen
Just add the .click to the .clone() chain. On Tue, Apr 29, 2008 at 2:19 PM, Matt Henry [EMAIL PROTECTED] wrote: I'm wondering if it's possible to use jQuery to manipulate content that has been generated by jQuery after the page has loaded. Here's what I'm trying to accomplish: The user

[jQuery] Re: Select multiple elements with almost same id

2008-04-18 Thread Morgan Allen
el[id^='quantity'] should do it for you. the ^= is starts with. On Thu, Apr 17, 2008 at 3:30 PM, Zlochko [EMAIL PROTECTED] wrote: Hallo everyone. My name is Gjoko Pargo. I am a new member of this group, in fact - this is my first message here. I work mainly as a web applications developer

[jQuery] Re: searching for an element with particular value

2008-02-14 Thread Morgan Allen
'input[name*=file][value=' + val + ']:hidden' On Thu, Feb 14, 2008 at 3:33 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, How do I search the DIV, myDiv for a hidden input field whose name begins with the word file and whose value is equal to the value contained in the variable myVar?

[jQuery] Re: Reverse Ajax in jQuery

2008-02-05 Thread Morgan Allen
You can check out the plugin I have been working on also. It uses the Bayeux protocol to handle channeled communication with a cometd server. http://plugins.jquery.com/project/Comet On Feb 5, 2008 8:11 AM, Jamie [EMAIL PROTECTED] wrote: FYI, for anyone else who might want a solution for this..

[jQuery] Re: [ANN] Lily, javascript visual programming tool

2008-01-30 Thread Morgan Allen
The minVersion in the install.rdf is 2.0.0 I changed to 2.0.0.* and it installed On Jan 29, 2008 9:33 PM, Bill Orcutt [EMAIL PROTECTED] wrote: Thanks for the useful feedback on the site. I've added another download link and will implement some of the other suggestions as I find time. I hope

[jQuery] Re: [ANN] Lily, javascript visual programming tool

2008-01-29 Thread Morgan Allen
Could not agree more Jörn, every link I click seemed to be sending me in circles. Luckily this app looked really cool, otherwise I would have said f-it in half the time it took me find the download. And I still have not found on the site where is says what version of firefox this is meant for.

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Morgan Allen
.getScript()? On Jan 15, 2008 3:20 PM, Nazgulled [EMAIL PROTECTED] wrote: Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... I thought I had this working before but now it's not. Here's my code: INDEX.HTML html head script

[jQuery] Re: [ANOUNNCE] Comet

2008-01-12 Thread Morgan Allen
For those who where interested in where interested in seeing comet in PHP, I just wrote a small class for publishing messages in PHP. Check it out. http://morglog.alleycatracing.com/wordpress/?p=22 On Jan 10, 2008 2:50 PM, Morgan Allen [EMAIL PROTECTED] wrote: Couple updates. Batch control

[jQuery] Re: [ANOUNNCE] Comet

2008-01-10 Thread Morgan Allen
Couple updates. Batch control, start of transport management, working out better event handling. I think everything is in place for the chat demo to completely work, but I have not had time yet to rewrite the whole thing. Feed back appreciated as usual. On Jan 9, 2008 10:17 AM, Morgan Allen

[jQuery] Re: [ANOUNNCE] Comet

2008-01-09 Thread Morgan Allen
2008, Morgan Allen wrote: I have been working on implementing the Bayeux protocol in jQuery and with the recent talk on the list about LIVE ajax and server pushing I thought now would be a good time to release the early work and start getting some feedback. It will work on Jettys Cometd Echo

[jQuery] Re: [ANNOUNCE] Space gallery

2008-01-09 Thread Morgan Allen
Awesome, I think this is a best JS image gallery I have seen. I will likely use that on the next release of my site. On Jan 9, 2008 1:08 PM, Benjamin Sterling [EMAIL PROTECTED] wrote: That is great and it sucks at the same time; It is great because I am/was working on some thing similar;

[jQuery] Re: add changing URL string to address for AJAX a la Gmail 2

2008-01-08 Thread Morgan Allen
Give the history plugin a look, this will also allow you to get an ajaxish back button. http://www.mikage.to/jquery/jquery_history.html On Jan 7, 2008 10:19 PM, Scott Hulbert [EMAIL PROTECTED] wrote: Hi everyone, I'm working on a simple project and I'm going to use jQuery's .load function

[jQuery] [ANOUNNCE] Comet

2008-01-08 Thread Morgan Allen
I have been working on implementing the Bayeux protocol in jQuery and with the recent talk on the list about LIVE ajax and server pushing I thought now would be a good time to release the early work and start getting some feedback. It will work on Jettys Cometd Echo Demo. To get it to work, remove

[jQuery] Re: Sever Push - live site

2008-01-07 Thread Morgan Allen
that is the code that i am trying to implement it with. To see other peoples action on the site, in that case what would be my PHP be? I have been at many many articles on this and just need some one on one for explanation. Thanks for that demo! On Jan 6, 10:01 pm, Morgan Allen [EMAIL PROTECTED

[jQuery] Re: Sever Push - live site

2008-01-07 Thread Morgan Allen
masses. On Jan 7, 2008 3:33 PM, Morgan Allen [EMAIL PROTECTED] wrote: I am not sure. It is dependent on how your PHP backend works. Looking at your demo I see that when I move a word, it is POSTed to store.php, is that then entered into a database? stored in a flat file? held in memory with magic

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Morgan Allen
$('input').focus(function() { $(this).val(null); }); On Jan 5, 2008 8:45 PM, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi, some time ago I saw a jquery plugin which would preset the value in a text box and when users' cursor came to that text box...the preset value would go away. it was sort

[jQuery] Re: Sever Push - live site

2008-01-06 Thread Morgan Allen
A simple way to do this in PHP is using a loop to wait for an event, and return if and when it does. Otherwise the connection times out, and the client (web browser using XMLHttpRequest) reconnects. A really simple demonstration can be seen by just doing an ajax request to a php script that

[jQuery] Re: Drastically reducing jQuery load time

2007-11-04 Thread Morgan Allen
Firebug even has its own code profiler built in (Profile button on the Console tab), I have used it and YSlow, I think firebugs is better on its own. On 11/4/07, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Robert, You can try the YSlow extension. It piggybacks off of the Firebug extension for

[jQuery] Re: Now, what does this *really* mean?

2007-09-19 Thread Morgan Allen
I have used them a couple time over the years, I would not say anything particularly bad about them, but you should also not expect anything more then you would normally from any cut-rate hosting provider. On 9/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: Thanks for clearing that up, Erik…