[jQuery] Re: Draggable problem

2009-07-28 Thread rupak mandal
Hi , replace the javascript cod and add "dragafter" class in css //javascript $(document).ready(function(){ //Counter counter = 1 //Make element draggable $("#drag").draggable({ helper:'clone', start: function(e, ui){ $(ui.

[jQuery] edit dialog display issue

2009-07-28 Thread Ravi
Hii..i am new in jqgrid. i have to achieve following functionality.. I get grid which displays all data..now i want to edit row on selection changed. for that i wrote following code as a jqgrid parameters onSelectRow: function() { var gr = jQuery("#list").getGridParam('selrow');

[jQuery] Last two list items aren't being displayed in jCarousel?

2009-07-28 Thread oswaldcobblepot
Can anyone tell me why this is happening? It looks like the width on ul#carousel is too short, and if I increase it in Firebug it reveals the last two thumbnails, but I don't know how or where this gets set. Could anyone shed some light as to why the last two items are getting cut off here? URL

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-28 Thread brian
Let's say that you want to add the click handler to all anchors in the 1st pane: $('#pane1 a').click(function() { $.ajax({ /* assuming that the anchor's href contains all * the data necessary for your PHP script */ url: hre

[jQuery] Re: Form and Validation Plugins

2009-07-28 Thread Jason
Can anyone help with my above query. I can not get it to validate befor sending the form. It only does after any empty form is submitted Jason On Jul 28, 7:33 pm, Jason wrote: > I have created a new site that has a contact page and am trying to use > the Forms plugin and Validation plugin.  I c

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-28 Thread gnetcon
Liam: Thanks for the feedback! I have my page built, with the array created and it populates my second pane fine with data from the first array item (1 of 100). What I'm having difficulty wrapping my brain around is how to update the second div, passing an array key to re-populate the div w/ou

[jQuery] Re: small problem

2009-07-28 Thread GaVrA
bump On Jul 26, 2:18 pm, GaVrA wrote: > Maybe it has something to do with the fact i am using Windows 7? > > On Jul 26, 12:27 pm, tain wrote: > > > Really wierd. > > > I have > > FF 3.5.1 - works good. no color transformation. > > IE8 - like in ff, works good. > > > On Jul 26, 11:40 am, GaVrA

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread TJ
This error message occurs on slower computers...I haven't had it happen on my 2 home computers. But I see that there is a potential problem for a number of people. On Jul 28, 6:12 pm, TJ wrote: > Thank you for your quick response. > > Here is a link to the page in question:  http://docfiller.

[jQuery] Overflow difficulties

2009-07-28 Thread Warren
I have this website: http://www.vampsworld.com/freelance_projects/aawc/ with this JQuery: $(document).ready(function() { $('#homemenuoption') .css( {backgroundPosition: "-20px 35px"} ) .mouseover(function(){

[jQuery] Re: jcarousel: How to call reload() as a result of user action outside of the carousel?

2009-07-28 Thread ranga pathmasiri
HI try this Code : var theModelCarousel = null; *function clearModelCarousel() { theModelCarousel.reset(); } * function modelCarousel_initCallback(carousel) { theModelCarousel = carousel; }; displaySlideShow = function(){ $('#mycarousel').jcarousel({ initCallback: modelCarous

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread TJ
Thank you for your quick response. Here is a link to the page in question: http://docfiller.com/process.aspx The error when using the jQuery min file is line 19 and when using the full jQuery (uncompressed) file, it is around 1988 - 2040, it varies. It also varies on what iteration in processin

[jQuery] Re: Using replaceWith on a instead of a causes text to be deleted

2009-07-28 Thread Ricardo
I think you're confused because jQuery accepts self-closing syntax for element creation, this will probably work: xx.replaceWith( $('') ); On Jul 28, 12:30 pm, "thorasm...@gmail.com" wrote: > Not sure whether this is a bug, but is is certainly unexpected > behaviour. > > When i try to use repla

[jQuery] Image Map Coordinates with pop up or tool tip???

2009-07-28 Thread Luh Hooo Zer
i have a circular image... with pie shaped areas. i would like to use some form of jQuery and either a popup or tool tip that is CSS customizable... i looked at maphilight in the jquery plugins, but i dont see how you can make a pop up with that... hopefully my request makes sense.. unless the

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-28 Thread Michael Geary
The usual advice applies here: If you can post a link to a failing test page with instructions to trigger the failure, I'll bet someone can take a look at it and figure out what you're doing wrong. -Mike

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread Michael Geary
There's no set limit on the number of selectors you can use, but as you've seen, selectors can take some time to run and eventually the browser will time out. There's really nothing more that can be said without seeing your code. Can you post a link to the failing test page? -Mike > From: TJ >

[jQuery] Slidedown menu works in FF and IE but not Chrome, Safari & Opera

2009-07-28 Thread healthyaddiction
I created a drop down menu (i think i followed a tutorial but it was so long ago i can't remember) which works 100% perfectly in firefox and internet explorer but not opera, safari and chrome. I really want to get it working in all of them though. Perhaps you might know what the problem will be.

[jQuery] Unresponsive Javascript Error

2009-07-28 Thread TJ
Hello, I keep getting this Unresponsive Javascript error. I will admit I have a ton of selectors and code going on. When I use FireBug to debug that message, it stops somewhere within the Sizzle CSS Selector part of jQuery. Different spots and at different iterations in my script. I have trie

[jQuery] Re: Slider Experts?

2009-07-28 Thread Glazz
Hi, Don't know if this is what you want but here it goes, http://jqueryfordesigners.com/coda-slider-effect/ Regards On 28 Jul, 01:31, photogeek wrote: > Anyone know how to create the slider effect, coda slider, so that it > opens up with something other than the first panel/div?  I know there

[jQuery] Re: Using data(name,value) to store additional information

2009-07-28 Thread Eric Garside
You could also do it with non-styling classes, as an alternative to locating them. $('div:first').data('foo', 'bar').addClass('foo'); $('.foo'); On Jul 28, 3:15 pm, Basdub wrote: > Thanks, that should do the trick. > > On Jul 23, 10:44 pm, Karl Swedberg wrote: > > > > > One way to retrieve th

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread ScottSEA
Sure. I have a thorough explanation, with sample xml, xsl, and js files on Stack Overflow : http://stackoverflow.com/questions/1190763/firefox-not-running-jquery-for-xhtml-output On Jul 28, 12:10 pm, Eric Garside wrote: > Can you give a sample of the output? How different is the result of > th

[jQuery] Re: Using data(name,value) to store additional information

2009-07-28 Thread Basdub
Thanks, that should do the trick. On Jul 23, 10:44 pm, Karl Swedberg wrote: > One way to retrieve them is to use the .filter() method with a   > function. for example: > > $('div').filter(function() { >    return $(this).data('foo') == 'bar'; > > }); > > --Karl > > > Karl Swedbergww

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread Eric Garside
Can you give a sample of the output? How different is the result of the transform from valid xhtml? On Jul 28, 2:55 pm, ScottSEA wrote: > On Jul 28, 9:55 am, ScottSEA wrote: > > > Until recently, I was humming along happily with my jQuery and HTML... > > life was good.  Sadly, the Powers That B

[jQuery] Re: jQuery Nesting Tables

2009-07-28 Thread nullstring
Hi, am not sure if I'm doing this right .. I have here the function to move the paging from GridView(table) generated by .NET, on top/before the table(GridView), and put it inside the DIV element. Problem is, the condition there: if($('tbody tr:last td:has(table)', this).length > 0) doesn't wor

[jQuery] Re: JQuery Load() with callback functionality

2009-07-28 Thread James
Here: $("#report_here").load("/admin/reports/statistics_report/", { // Parameters sent go here }, finished() "finished()" is suppose to be "finished", without the parenthesis. On Jul 28, 4:18 am, "chris.j.p...@googlemail.com" wrote: > Hi, > > I have a func

[jQuery] Re: jQuery Nesting Tables

2009-07-28 Thread nullstring
Hi, am not sure if I'm doing this right .. I have here the function to move the paging from GridView(table) generated by .NET, on top/before the table(GridView), and put it inside the DIV element. Problem is, the condition there: if($('tbody tr:last td:has(table)', this).length > 0) doesn't wor

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread ScottSEA
On Jul 28, 9:55 am, ScottSEA wrote: > Until recently, I was humming along happily with my jQuery and HTML... > life was good.  Sadly, the Powers That Be have ordained that Thou > Shalt Useth XHTML - so let it be done. > > I've undergone the process to convert to XHTML - all is valid and all > is

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread Nick Fitzsimons
2009/7/28 ScottSEA : > > I've undergone the process to convert to XHTML - all is valid and all > is well... but no.  Firefox treats XHTML as XML.  jQuery is designed > for HTML - when appending / prepending / removing it uses the innerHTML > () function, which of course doesn't work for XML/XHTML.

[jQuery] Re: clone() + Sortable and Draggable

2009-07-28 Thread Jérôme GRAS
That's a great idea. I tried something similar but your way seems better :) I'm currently on a trip, I'll keep you in touch. Jérôme. On Tue, Jul 28, 2009 at 15:07, Mean Mike wrote: > > I have an idea not sure if it will work or not but instead of trying > to find a plug in to do the live() func

[jQuery] Re: hoverIntent not working?

2009-07-28 Thread Brett Ritter
On Tue, Jul 28, 2009 at 9:43 AM, Brian Cherne wrote: > So when you send it only one function (which .hover() seems to handle just > fine) hoverIntent thinks you're sending a configuration object. Try adding a I believe that's a fairly recent change to hover(). Prior behavior required 2 functions

[jQuery] Re: hoverIntent not working?

2009-07-28 Thread Mat
Ah, of course! Thanks a lot, I am very appreciative haha! Mat. On Jul 28, 2:43 pm, Brian Cherne wrote: > Sorry for taking so long to get back to you. Hopefully you've figured this > one out already... hoverIntent expects either two functions or one > configuration object: > $(foo).hoverIntent(

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread Eric Garside
What doctype / mimetype are you specifying. If you're doing xhtml+xml, I'm pretty sure if you remove the "+xml" portion, things will play nicely again. On Jul 28, 12:55 pm, ScottSEA wrote: > Until recently, I was humming along happily with my jQuery and HTML... > life was good.  Sadly, the Power

[jQuery] Re: Using replaceWith on a instead of a causes text to be deleted

2009-07-28 Thread Eric Garside
The W3C has a list of valid self-closing tags, div of which is not one of them (for the sake of compatibility, I think). http://www.w3schools.com/xhtml/xhtml_ref_byfunc.asp Only the following tags should be self closed: On Jul 28, 11:30 am, "thorasm...@gmail.com" wrote: > Not sure whe

[jQuery] Re: Autocomplete cache problem ( Urgent )

2009-07-28 Thread Vivek
Thanks It works. On Jul 28, 1:55 pm, rupak mandal wrote: > Hi , > you have to make a little changes in autocomplete.js > > Search for "*if (data && data.length*)" condition which is inside "request" > function. Add this code before the *if * condition > > if(data) > data.length=0; > > On Tu

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-28 Thread Eric Garside
Try starting off with a simplifying your selectors and the code in general? .live(), in this case, isn't going to provide you much benefit, as you're binding it to an element based on an ID, which means there will only ever be a single element which this function triggers for. Try something like:

[jQuery] JQuery and XHTML in Firefox

2009-07-28 Thread ScottSEA
Until recently, I was humming along happily with my jQuery and HTML... life was good. Sadly, the Powers That Be have ordained that Thou Shalt Useth XHTML - so let it be done. I've undergone the process to convert to XHTML - all is valid and all is well... but no. Firefox treats XHTML as XML. j

[jQuery] Draggable problem

2009-07-28 Thread Marcos Placona
Hi, I'm working with draggable, and basically what I'm trying to accomplish is having one item on my screen, that can be dragged anywhere, and uses "helper:'clone'", so it still sticks to its main location and can be cloned N times. It all looks good, but I just realized that although cloning is

[jQuery] maskedinput plugin not cooperating with validate plugin?

2009-07-28 Thread Mark K
My project uses jquery.maskedinput.js 1.2.2 and jquery.validate.js r6096. I'm looking at a date field, with a mask of 99/99/, which happens to also be required. If I focus and then blur on the required date field, validate fires (as it should), and does its required check, which (if I'm readi

[jQuery] Draggable problem

2009-07-28 Thread Marcos Placona
Hi, I'm working with draggable, and basically what I'm trying to accomplish is having one item on my screen, that can be dragged anywhere, and uses "helper:'clone'", so it still sticks to its main location and can be cloned N times. It all looks good, but I just realized that although cloning is

[jQuery] JQuery Load() with callback functionality

2009-07-28 Thread chris.j.p...@googlemail.com
Hi, I have a function that uses the ajax load function to post off some parameters and fill a div with the returned content after a db query has been run to create it. This all works fine, however I would like to be able to rplace the div with a loading graphic whilst the content is generated. I

[jQuery] Re: Response not working after page has been loaded by jQuery Load

2009-07-28 Thread LindsayT
Hi Jan, I'm not sure how much help I can be, but I just got finished doing a project where I load XML transformed by an XSLT dynamically into my #content area. Can you tell me first the goal of the functions you are writing? What are you trying to do? Lindsay On Jul 23, 1:36 pm, jan timmer w

[jQuery] Using replaceWith on a instead of a causes text to be deleted

2009-07-28 Thread thorasm...@gmail.com
Not sure whether this is a bug, but is is certainly unexpected behaviour. When i try to use replaceWith on a instead of a (which is correct HTML syntax) it causes, not only the div but all code after the div to be replaced. Please see the code here: http://nafai.org/temp/jqueryproblem/ I wi

[jQuery] [validate] Problem with dynamic messages

2009-07-28 Thread Wrestler
Hi, I am dynamically generating controls on my page. I want to show all the errors on the top of the page and an exclamation gif besides each erroneous element with its alt property showing the error. Please let me know if that is possible or not. If yes, then how can I acheive this. I have seen

[jQuery] Problems with getJSON between browsers

2009-07-28 Thread yaphi
Hello, I am trying to request the json feed from Google Latitude. This script is working perfectly in Safari 4, but I get a 400 Bad Request error in FF 3.5. If I add the &callback=? to the end of the URL, then FF 3.5 hits me with an Invalid Label error which I can't work around (tried eval). Also

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-28 Thread pedalpete
That is what i've always thought James, but Firebug isn't showing any errors. I had actually edited the code and removed a context when i posted, so that is why that element didn't have a closing quote. But i had been constantly changing things, and no errors. However, you are correct that I ha

[jQuery] Re: Menu Collapses Instantaneously with Animation

2009-07-28 Thread TH Lim
I found the problem lies with the "height". If the height of the or is set to a specific value e.g. 200px. The menu will collapse in animated fashion if it is set to auto. Here is the test code. http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd"> #browser { font-family: Verdana, h

[jQuery] Re: Invalid Argument Line 12 1.3.2 IE 7 and 8rc1

2009-07-28 Thread kyleduncan
I have fixed this issue: Ie6, 7 and 8 were getting an invalid argument error because of CSS padding: once padding was removed fro mthe textareas completely in a separate IE stylesheet, IE6 and 7 and 8 all worked fine with multiple textareas and no errors Opera was fixed by this problem also (it

[jQuery] Re: Textarea autogrow plugin: IE6, IE7, IE8 and Opera problems

2009-07-28 Thread kyleduncan
I have fixed this issue: Ie6, 7 and 8 were getting an invalid argument error because of CSS padding: once padding was removed fro mthe textareas completely in a separate IE stylesheet, IE6 and 7 and 8 all worked fine with multiple textareas and no errors Opera was fixed by this problem also, alt

[jQuery] Re: hoverIntent not working?

2009-07-28 Thread Brian Cherne
Sorry for taking so long to get back to you. Hopefully you've figured this one out already... hoverIntent expects either two functions or one configuration object: $(foo).hoverIntent( function(){} , function(){} ); $(foo).hoverIntent( { over: function(){} , out: function(){} } ); So when you send

[jQuery] posting onclick a datepicker value

2009-07-28 Thread Natkeeran L.K.
Hello: There is an onclick event that calls the changeStartDate, and passes in an ID. '' + First time, it passes in the correct ID to function. It has the correct behavior the first time. But, after that, it keeps the old item id, even though a new id is received in the function. var I

[jQuery] Re: How to deterine number of words in a string?

2009-07-28 Thread CarComplaints.com
Hi Conrad, for that to work, I think you'd need to figure out the character code range of all the Chinese letters that might be included, & then include them as a range in the regular expression. var string = 'I come from 香港'; var mresult = string.match(/\w+|[\u4e00-\u9fa5]/g); alert(mresult.len

[jQuery] Re: clone() + Sortable and Draggable

2009-07-28 Thread Mean Mike
I have an idea not sure if it will work or not but instead of trying to find a plug in to do the live() function with sortable why not just target the newly created list you could make a function something like this function make_sortable(item){ $(item).sortable({ revert:

[jQuery] Multiple JDialog on the same Ids

2009-07-28 Thread Maskime
Hi everyone, I'm running in a bit of trouble with some JDialogs. I had a form where everytime you checked a checkbox an AJAX request was sent and depending on the AJAX request result a JDialog was load and everything was working just fine. Now i was requested to add a 'Check all' checkbox. "Easy

[jQuery] jcarousel: How to call reload() as a result of user action outside of the carousel?

2009-07-28 Thread KevinL
Hi, I have a question about jcarousel. I want to display three sets of images on a Web page, and I want to use only one jcarousel to do it. I want to change the list of images based on the user clicking on one of three links, each representing a set of images. How do I do this? I know I can ed

[jQuery] Re: Autocomplete cache problem ( Urgent )

2009-07-28 Thread rupak mandal
Hi , you have to make a little changes in autocomplete.js Search for "*if (data && data.length*)" condition which is inside "request" function. Add this code before the *if * condition if(data) data.length=0; On Tue, Jul 28, 2009 at 1:29 PM, Vivek wrote: > > Hi, > > I am using autocomple

[jQuery] Re: autocomplete

2009-07-28 Thread @@
yes we can :p mustMatchBoolean *Default:* false If set to true, the autocompleter will only allow results that are presented by the backend. Note that illegal values result in an empty input box. On Tue, Jul 28, 2009 at 7:14 AM, sush wrote: > > Hi, > I am

[jQuery] Re: POST data not being sent

2009-07-28 Thread Donny Kurnia
shaf wrote: Hi Guys I am trying to make an ajax POST request but its not working. Code below: var _HOMEDIR = "http://localhost/personal/index.php/home/";; $(document).ready(function() { $("form").submit(function() { var str = $("form").serialize(); $.aj

[jQuery] Re: changing style attributes.

2009-07-28 Thread Old Orange Juice
It is dynamic, yes, but on the server side (mason/perl), so the final html should have those elements when the page loads in the client. I found an easier way to do this without JQuery (there were tools already built in that were easier to use, but not as flexible [usual trade off, I think]). I wi

[jQuery] POST data not being sent

2009-07-28 Thread shaf
Hi Guys I am trying to make an ajax POST request but its not working. Code below: var _HOMEDIR = "http://localhost/personal/index.php/home/";; $(document).ready(function() { $("form").submit(function() { var str = $("form").serialize(); $.ajax({

[jQuery] Form and Validation Plugins

2009-07-28 Thread Jason
I have created a new site that has a contact page and am trying to use the Forms plugin and Validation plugin. I can get the validation plugin to work fine and submit the form when it is valid but I am trying to use AJAX to update a div when the form has been successfully sent. All that is happe

[jQuery] Re: inserting new record

2009-07-28 Thread Tony
Hello, You can use beforeShowForm event and set it one for edit and another for add. In case of add you can : beforeShowForm : function(formid) { jQuery("#UserName", formid).removeAttr("readonly"); } in the edit beforeShowForm : function(formid) { jQuery("#UserName",formid).attr("readonly"

[jQuery] Re: Problem with sorting after dragging.

2009-07-28 Thread freq
Hi, thanks, but that doesn't seem to work either. after dragging, it cannot be sorted, because the DIV will stay where it has been last dragged too. On Jul 27, 4:32 pm, Dhruva Sagar wrote: > Hi, > > Have you tried using the connectToSortable option for draggable? > > __

[jQuery] News scroller

2009-07-28 Thread Andrea - Aosta
I have found thsi example made width mootools http://javascript.html.it/demo/javascript/5338/esempio.htm A similar plugin for jquery exists? Thank you

[jQuery] Autocomplete cache problem ( Urgent )

2009-07-28 Thread Vivek
Hi, I am using autocomplete plugin. I have one Search field upon which i have put the autocomplete and other a select box which have 3-4 values such as Vidoes, audios, images etc..., I am using Extrafield option to pass the select box's value to the PHP Script. It is working fine however i am ha