[jQuery] visible divs and selectors

2009-12-11 Thread Bruce MacKay
Hi folks, I'm having difficulty with a flicker/repaint of an 'unhidden' div in the following scenario A user clicks on a region of an image map and triggers the following function which 'unhides' previously populated divs, each with an id of the clicked region and each containing a list of

[jQuery] Re: addClass('floatsToRight') doesn't work, but .css('float', 'right') does

2009-12-11 Thread Łukasz Podolak
Yes, you were both right. Many thanks On 10 Gru, 21:01, MorningZ morni...@gmail.com wrote: that would have been my suggestion as well   Firebug would be a huge help for you here, as floatsToRight will show in the HTML tab as over ridden if that's the case On Dec 10, 2:54 pm, Leonardo K

[jQuery] jQuery no conflict question

2009-12-11 Thread Henjo
Hi list, I am wondering how to set my jQuery to be in 'noconflict' state. My jQuery is loaded after prototype and so accordingly to the docs I should put this in my script: jQuery.noConflict(); // Put all your code in your document ready area jQuery(document).ready(function($){

[jQuery] Best Service

2009-12-11 Thread globosoft
Recently, I had a chance to outsource a project to Globosoft Technologies. They produce high quality work at a reasonable cost. If you are looking for the services like custom Website, CMS, Clone, e-commerce, Network support and SEO you should definitely check Globosoft Technologies first. Here

[jQuery] Re: Best Service

2009-12-11 Thread Virgil Spruit
This topic makes the Report spam quite usefull. Thanks. On Dec 11, 2:14 pm, globosoft skhalid@gmail.com wrote: Recently, I had a chance to outsource a project to Globosoft Technologies. They produce high quality work at a reasonable cost. If you are looking for the services like custom

RE: [jQuery] Best Service

2009-12-11 Thread Rick Faircloth
You' think Mr. globosoft would at least attempt to mask the attempt to market deceitfully by not sending his message using the company name as his name, as well as sending the message from a non-globosoft web address (skhalid.gst). So much for subtlety... (and command of the subtleties of

[jQuery] Re: jQuery no conflict question

2009-12-11 Thread Scott Sauyet
On Dec 11, 7:14 am, Henjo henjohoek...@gmail.com wrote: I am wondering how to set my jQuery to be in 'noconflict' state. [ ... ]    function questionList(){       ...    } I'm wondering if you are using the $ shortcut to jQuery inside such functions. If you are, then those functions must be

[jQuery] IE 6 Form Input's wont work entire site

2009-12-11 Thread Delifisek Tux
Hello, I had very interesting problem with our latest project. Our php cms system depends on jquery in any mean of javascript business. We/Customers are happy to use it. And our last project someting weird was happened. We can't use forms in IE6 are any mean... Problem was simple when you

[jQuery] Re: visible divs and selectors

2009-12-11 Thread Scott Sauyet
Any chance you could post a small test case somewhere? I *think* I understand what's happening, but without seeing it, it's hard to diagnose. -- Scott

[jQuery] Re: jQuery no conflict question

2009-12-11 Thread Henjo
Hi Scott, I do not get the syntax completely, but will definitely give it a try. Thanks for posting back! Henjo On Dec 11, 2:54 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Dec 11, 7:14 am, Henjo henjohoek...@gmail.com wrote: I am wondering how to set my jQuery to be in 'noconflict'

[jQuery] Re: jQuery no conflict question

2009-12-11 Thread Henjo
Well, I tried this, but no matter where I put it, it gave me the error the function was not defined... So I decided to find/replace all $ with jQuery. It does the job. Thanks anyways! Henjo On Dec 11, 2:54 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Dec 11, 7:14 am, Henjo

[jQuery] How can I make some change in superfish dropdown menu

2009-12-11 Thread Gunash
Hello every body I want to make some change to this joomla module I want to make this complately RTL for persian language ( all level of menues shifting to right and direction is rtl for all levels ) How can I do that ? I'm new in java and css too :) Best regards Bahman Zendeh Sher.

[jQuery] IE 7-8 bug on menu loading when mouse is over the menu

2009-12-11 Thread killer chicken
I have this issue in IE only, i've search in the forum but i didn't found nothing about that on page loading, if the mouse is over the menu IE throws an error this is what the debbugger throws in jquery.js line 25 nodeType null or non an object if(elem.nodeType==3||elem.nodeType==8 firefox

[jQuery] [validate] show status indicator while conducting a remote validation

2009-12-11 Thread Marc
Hi, I was wondering if it's possible to show an icon or label while the Validate plugin (http://docs.jquery.com/Plugins/Validation) is waiting on the response from a Remote rule. Ideally I would like to show a progress indicator to inform the user that the element is being validated in case of a

[jQuery] superfish - nav-bar style menu conflict with mootools

2009-12-11 Thread sooooop
Hi came across a situation where i am using the nav-bar style menu in conjunction with Slideshow 2 with mootools.(http:// www.electricprism.com/aeron/slideshow/). I noticed that the current style isn't behaving properly, and also rolling over to ul li for another main header, the ul li overlap

[jQuery] detecting edge cases when swapping divs

2009-12-11 Thread Abbey
Hello, I have basic js knowledge, and just started playing with jQuery. I am doing an experiment where when you click an UP/DOWN ARROW link, the box will slide up/down throughout the page. I found a generic swap function online and modified it for jQuery use. Now I want to refine it more. I'd

[jQuery] List item animation

2009-12-11 Thread fserrano
Hi, I'm a jQuery newbie and need someone to point me in the right direction. I want to fade in a list of items but have each item fade in when the previous item is done fading, as opposed to having them all fade in at the same time. I want to do this in groups. So let's say the list has 100

[jQuery] superfish in a div

2009-12-11 Thread akil.r...@gmail.com
Hello, I need advise please, I put the ul's of the superfish in a div, yet somehow that div need to be style with a certain height to make this div containing ul superfishpositioned nicely on the top of other div, I am a beginner in css as well, is this a css issue? thanks a lot in advance

[jQuery] Superfish z-index

2009-12-11 Thread basedrop
Since top navigation drop menus tend to need to go above other page content (usually in divs), it would be a good idea to alter your css to include a large z-index for the sub menu items so it works out of the box (particularly in regards to i.e.6).

[jQuery] Re: Use link to auto fill form fields w/jquery

2009-12-11 Thread Wojo
Greetings all: I am using jquery fancy box to open up a form. However, I want to image link that I click to not only open up the form but also auto populate the form with a couple of peices of information. The form fields value will change for several different pages. For example, when someone

[jQuery] jQuery(document).ready - errors prevent further jQuery code from executing

2009-12-11 Thread 3hough
I searched around and couldn't find an answer for this. I'm in a bind because I'm developing JS that is used in a web framework, and is frequently mixed in with other developers' jQuery code. Unfortunately errors in their jQuery(document).ready blocks prevent mine from executing. Take the

[jQuery] autocomplete - how to open dropdown with function

2009-12-11 Thread alex_mass
I'm using jQuery plugin: Autocomplete, in a field id=inputsearch. The question, is how is it possible to open the dropdown programmatically frmo javascript in the page. thanks for the help Alex $(#inputsearch).autocomplete(${topicList}, { formatItem: function(item) {

[jQuery] load() function and IE8

2009-12-11 Thread Scott Stewart
I fat fingered the last one so... I have this piece of code $(#AP_PONum).live(change, function(){ ap_po = $(option:selected,this).val(); $(#content-box).load(webapps/finished_jewelry/PurReq/display/ dsp_addPurchaseRequest.cfm?poNum=+ap_po); }); which works like a champ in firefox. it's

[jQuery] Text Shapes

2009-12-11 Thread Mohtisham
Well, i am trying to shape my text like curve up or down, bulge, roof text, bridge text etc. I tried through JavaScript and applied the margin + transform: rotate CSS on my text character by character. But it is not a good approach as far as my view point is concerned. Anyone have idea about it do

[jQuery] Need to get the index of current table row

2009-12-11 Thread Bunn
I am setting the rows of my grid (which outputs an HTML table) using jquery $('#gvReturnedChecks tr:odd').addClass('odd'); $('#gvReturnedChecks tr:even').addClass('even'); I am selecting a row in the grid to perform an update. I perform the update using an ajax call. I need to know the index

Re: [jQuery] [validate] show status indicator while conducting a remote validation

2009-12-11 Thread Jörn Zaefferer
The plugin currently doesn't provide any callbacks for that, but you can use jQuery's ajax events: http://docs.jquery.com/Ajax_Events Jörn On Fri, Dec 11, 2009 at 1:27 AM, Marc marc.ga...@gmail.com wrote: Hi, I was wondering if it's possible to show an icon or label while the Validate

[jQuery] Selecting a value from a SELECT field?

2009-12-11 Thread youradds
Hi, I'm trying to make a bit of code, which will auto-select a value from a SELECT box. Here is the example code: select style=display: inline; id=catid2 name=catid2option value=-- select --/optionoption value=136187Alberta/ optionoption value=136200British

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread T.J. Simmons
Have you tried putting the numeric value in quotes? It works fine like that.. here's a link so you can see. http://jsbin.com/iqiru Hope that helps. - T.J. On Dec 11, 9:59 am, youradds andy.ne...@gmail.com wrote: Hi, I'm trying to make a bit of code, which will auto-select a value from a

[jQuery] Re: visible divs and selectors

2009-12-11 Thread Scott Sauyet
On second thought, I think I get it. You're doing something screwy with this: if ($(#regions div).is(:visible)) { /* ... */} It's not clear to me without checking the docs even what it means to call .is() on a group of items, but I don't think this is really what you want. Ideally, you

[jQuery] Collapsing

2009-12-11 Thread Dobbler
Hi, I have a menu set up with parent child links.. Best way to describe it is show an example: http://96.0.84.196/jtest/ http://96.0.84.196/jtest/ You'll notice that you can have multiple parent's open but I would like all other parents to collapse when you click another parent. So only one

[jQuery] Re: IE 7-8 bug on menu loading when mouse is over the menu

2009-12-11 Thread killer chicken
problem solved, the issue is with the jquery.event.hover.js... we solved by eliminating the following lines: jQuery.event.special.hover.delay = 100; jQuery.event.special.hover.speed = 100; we are using a joomla module On 11 dic, 11:40, killer chicken gamba.ferna...@gmail.com wrote: I have this

[jQuery] Current page

2009-12-11 Thread Atkinson, Sarah
How do I mark the current page in a list of links?

[jQuery] Need help with superfish dropdown menu

2009-12-11 Thread Yvan
I'm having some difficulty finalizing my suckerfish dropdown menu on this page (ie: Resources button / link): http://www.alliedcash.com/comparison/ Here are the 3 problems that I'm trying to correct: 1) I want to eliminate the right border for each of my sublinks -- I can't seem to access /

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
Mmm weird, maybe its some of the other JS code in the page then - will see if I can debug. Thanks anyway :) On Dec 11, 4:03 pm, T.J. Simmons theimmortal...@gmail.com wrote: Have you tried putting the numeric value in quotes? It works fine like that.. here's a link so you can see.

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread Scott Sauyet
And your other syntax should also work as well: http://jsbin.com/oredo (code http://jsbin.com/oredo/edit) Must be something else on the page... -- Scott

[jQuery] Re: Need help with superfish dropdown menu

2009-12-11 Thread Yvan
I've made some progress on resolving this issue, and all I have left to fix is the following: 2) When I mouseover the sublinks -- I'd like for the Resources link text to remain white (instead of turning blue) 4)  In IE -- the left edge of the subnav list doens't line up wih the left edge

[jQuery] [jQuery Tabs] Select tab from link

2009-12-11 Thread StephenJacob
Good day everyone. I'm using Jquery Tabs UI and loading content via Ajax. I'm now trying to select one of the tabs from a link on another page. I'm not having any luck with the example on the jquery docs page. When I assign the #standard as an ID on the A tag it does not load the content of

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread T.J. Simmons
Aye, must be something else on the page; I've never tried using the text of the option, good to know it works like that too. - T.J. On Dec 11, 10:27 am, Scott Sauyet scott.sau...@gmail.com wrote: And your other syntax should also work as well:    

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
Hi, Ok, well kinda managed to get it working - however, I'm thinking a different approach may be needed. Let me explain a bit behind this. Basically, there are 4 SELECT boxes (catid1, catid2, catid3, catid4) . When someone selects a value from catid1, it then passes that ID to a script - and

[jQuery] jQuery: form wizard plug-in plug-in: Validation

2009-12-11 Thread factoringcompare.com
Hi, I’m using the Validation plug-in with Form Wizard (http:// home.aland.net/sundman/). I want to change the position of the error message from directly following the element. To explain; following each input I have a tool tip image. I would like the error message to either appear directly

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
haha think I may have worked it out :p Was missing this in the last one: jQuery(#catid3).html(options); jQuery('#catid3 option:first').attr('selected', 'selected'); On Dec 11, 4:37 pm, youradds andy.ne...@gmail.com wrote: Hi, Ok, well kinda

[jQuery] Re: Collapsing

2009-12-11 Thread Scott Sauyet
On Dec 11, 11:09 am, Dobbler dobble...@gmail.com wrote: I have a menu set up with parent child links.. Best way to describe it is show an example:  http://96.0.84.196/jtest/http://96.0.84.196/jtest/ You'll notice that you can have multiple parent's open but I would like all other parents to

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread T.J. Simmons
So it works now? Glad to hear. Let us know if you need anything else. - T.J. On Dec 11, 10:44 am, youradds andy.ne...@gmail.com wrote: haha think I may have worked it out :p Was missing this in the last one:                          jQuery(#catid3).html(options);                          

[jQuery] Re: Document traversing with jQuery + HTML 5 drag and drop

2009-12-11 Thread eid
Bump On Dec 10, 8:37 pm, eid php...@gmail.com wrote: Hello. I am coding some HTML 5 drag and drop support where the user can drag images from a library to a textarea, and the necessary HTML to include the image will then be added. The addition of the html is done through a function that

[jQuery] Sliding menu elements from under the header

2009-12-11 Thread Bine Gorjanc
So i want to make a menu which has links that (atleast seemingly) slide from under the header when hovering on their footer and retreat back up on mouseout. At first i though it was easy.. i defined menu element like this (approximately): div class=element div class=el_content /div /div

[jQuery] Re: Current page

2009-12-11 Thread Scott Sauyet
On Dec 11, 11:14 am, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: How do I mark the current page in a list of links? $(#myList a).each(function() { if (this.href == document.location.href) $(this).addClass (currentPage); }); -- Scott

[jQuery] Sliding menu elements from under the header

2009-12-11 Thread Bine Gorjanc
So i want to make a menu which has links that (atleast seemingly) slide from under the header when hovering on their footer and retreat back up on mouseout. At first i though it was easy.. i defined menu element like this (approximately): div class=element div class=el_content Go home /div

[jQuery] Problem with Jquery Superfish in IE7

2009-12-11 Thread Zanfe
Hi all, only in IE7 the submenu appear under my page's content. I use bgframe plugin. Here my code: $(ul.sf-menu).superfish({ speed: 'fast', autoArrows: false // disable generation of arrow mark-up }).find('ul').bgIframe({opacity:false}); Do you have any ideas? Thank you very much.

[jQuery] ajax

2009-12-11 Thread Jojje
Hi! I have a question regarding ajax. In my script i have a lot of css rules set with jquery. And when i use the .load ajax function the page gets loaded but the css rules from the script doesnt, or the script does not get loaded, so i have to refresh the page. Is there a way to get the script

[jQuery] Variables

2009-12-11 Thread Jojje
Hi all! I'm adding a userCheck method to the validation plugin. It checks if the username i available, and if not an error message diplays, its done with ajax, my script does not work properly. I'm pretty new to javascript and jquery so maybe its an easy problem... its done with ajax and if the

[jQuery] Using SimpleModal for Unordered List (UL)

2009-12-11 Thread Girlpoetus
Hi, I have configured SimpleModal for an UL to show definitions when you click on a word. The trouble is when you click on any word from the list, the correct definition is not showing, but rather the definitions shows in order from top to bottom no matter what word you click on in the list.

[jQuery] document.createElement('someElement') creates SOMEELEMENT

2009-12-11 Thread jarrowwx
All, I am trying to use jQuery to manage an XML document in memory to represent a back-end data store. I discovered that when I create new tags using document.createElement() instead of $(tag).clone(), it creates the new tag with the tag name in all uppercase. Now, if I am searching for the tag

[jQuery] Re: List item animation

2009-12-11 Thread Ariel Zavala
Hi, You could use a recursive function to do this. Be sure to exit the function and not get stuck in a loop. Here is an example: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN     http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;   html xmlns=http://www.w3.org/1999/xhtml; head   script

[jQuery] AJAX POST listener

2009-12-11 Thread Justin
Hi all, I'm trying to implement a way to execute a jquery function (i created) only when an AJAX POST request has status of complete. The AJAX itself is out of my reach (controlled by the application) but I want to be able to listen to the event. If I'm not mistaken, the AJAX in jQuery mainly

[jQuery] checbox checked unchecked callback

2009-12-11 Thread led
I need a event listener for the checkbox check and uncheck event. Should i do that with change event or there is another simple way like . If i use the change event hw can i manage the the state of the checkbox, callback based on state. If check callback1 if uncheck callback2 I think there is an

[jQuery] Re: Need to get the index of current table row

2009-12-11 Thread MorningZ
The .index() function takes some getting used to, but it does work once it's fully understood what is going on with it... the selector should be the collection of DOM objects you are looking for and the value in the index() should be one of those selected-from-the-selector DOM objects Example:

[jQuery] Submission of a form creates popin

2009-12-11 Thread Benn
This should be a simple matter: I'm using a plugin, prettyPopin. and I want a form to submit to it (activate it). How do I get prettyPopin to activate on form submit!

[jQuery] Help! Issue with Gridview using JQuery

2009-12-11 Thread Bunn
I'm calling _doPostBack('UpdatePanel1', ''); in javascript and it updates my gridview after a record is inserted. The record is added from a panel above the gridview. But when I make the same call after doing an update and delete, I get the following error: Microsoft JScript runtime error:

Re: [jQuery] Problem with Jquery Superfish in IE7

2009-12-11 Thread Charlie
did you try this fix from link on superfish site? http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/ Zanfe wrote: Hi all, only in IE7 the submenu appear under my page's content. I use bgframe plugin. Here my code: $("ul.sf-menu").superfish({ speed: 'fast',

[jQuery] proper way

2009-12-11 Thread Jojje
My question is about syntax, or how to wite jquery code. Is the example below ok? Putting all your code between document.ready all your code with anonymous functions? $(document).ready(function() { $('a.link1').click(function() { //code }); $('a.link2').click(function() {

[jQuery] Re: checbox checked unchecked callback

2009-12-11 Thread led
Solved On 11 Dez, 18:54, led l.r@sapo.pt wrote: I need a event listener for the checkbox check and uncheck event. Should i do that with change event or there is another simple way like . If i use the change event hw can i manage the the state of the checkbox, callback based on state. If

Re: [jQuery] Need help with superfish dropdown menu

2009-12-11 Thread Charlie
2 ways to approach the color use the onBeforeSHow option withing superfish constructor to add a class to your a hovered tags, or add some li:hover a rules to change in css you have to watch for the #navlinks a:link rules you have that will superseded the superfish rules. Usually easiest to

Re: [jQuery] superfish - nav-bar style menu conflict with mootools

2009-12-11 Thread Charlie
Possibly a js conflict with mooTools, have you tried jQuery noConflict? http://docs.jquery.com/Using_jQuery_with_Other_Libraries It sounds more like a css problem but without a link is hard to guess sop wrote: Hi came across a situation where i am using the nav-bar style menu in

[jQuery] Re: Submission of a form creates popin

2009-12-11 Thread Benn
I'd also be open to trying non-plugins On Dec 11, 1:26 pm, Benn bennmey...@gmail.com wrote: This should be a simple matter: I'm using a plugin, prettyPopin. and I want a form to submit to it (activate it). How do I get prettyPopin to activate on form submit!

[jQuery] Re: Variables

2009-12-11 Thread Jojje
Noticed that whn i do rhis synchronized it works? But that locks up the browser while the request is sent. Maybe that helps to solve the problem? I don´t understand why when i use asynchronized request, the first time the variable is undefined and then when i type for instance Joe i get back Jo

[jQuery] TreePlugin with Checkbox and some functions..

2009-12-11 Thread Charlie
Hi, I'm a newbie in JQuery, but know JS and have allready used some JQuery- Plugins. But now I'm searching for a cool plugin which can handle the following stuff: - Tree where defined elements are folders and have no checkbox - some child elements have a checkbox, some not - I can make as

[jQuery] Cluetip and Colorbox - Can I make them work together?

2009-12-11 Thread necker47
Hello, I'm using Cluetip to pull some AJAX content, and in that content is a link to another small bit of AJAX content. Since Cluetip doesn't seem to support multiple tips (http://groups.google.com/group/jquery-en/ browse_thread/thread/b853977ee373b1ee), I was trying to use something like

[jQuery] FadeOut Ajax Post FadeIn problem

2009-12-11 Thread S9DD
Hi Folks This script fades out a div tag with id #pageArticle, gets fresh content from an anchor ajax post, and is Supposed to fade the new content in. But it won't handle from replaceWith onwards properly. New content just suddenly appears. Is there a way to get around this? I have tried

[jQuery] switch between to img; making hover and scaling the img

2009-12-11 Thread heidi
I have tried making this with an hover and mouseover but it seems I am making a mistake every time, so hope somebody can help. image1 should when the mouse is over it turn into img2, img2 should then scale up. and when you remove the mouse, img2 should scale down and hide, and img1 should come

[jQuery] Re: jEditable, onblur and submit issue

2009-12-11 Thread Ben DeMott
If you bind the editable on the fly as the click occurs - Some browsers have concurrency issues. Interestingly enough a similar issue occurs with Jquery Autocomplete Plugin - but this issue is caused by the fact the author used a setTimeout() in the initialization of the plugin - I'm not sure if

[jQuery] Variable and additional selectors

2009-12-11 Thread Adomatic
I'm just starting to play with jQuery and, like everyone before me, I'm amazed by it's power. In short, my question is about cloning an object, manipulating it in multiple steps and and then appending it to a list. I have an li on my page containing several divs (a user avatar and a couple lines

[jQuery] jQuery.equals How To Compare DOM Elements (quick solution)

2009-12-11 Thread camrto
Quickly: (function($){ jQuery.fn.equals = function(selector) { return $(this).get(0)==$(selector).get(0); }; })(jQuery); Implementation Example: ... main div id='id0'/div div id='id1'/div ul id='id2'/ul /main ... $('#id0').equals('#id1') //false

[jQuery] Superfish - sfHover on li a href link?

2009-12-11 Thread Olivier
Hello, I am using the great Superfish jQuery menu. The only issue I have is with the sfHover class not being attached to li when the hovered li contains a link (a tag). I guess this isn't a problem for most of the users for which the A block overflows exactly the LI but my A is contained within

Re: [jQuery] Cluetip and Colorbox - Can I make them work together?

2009-12-11 Thread Karl Swedberg
try using the onShow option. $('a.jt').cluetip({ cluetipClass: 'jtip', dropShadow: false, hoverIntent: true, sticky: true, mouseOutClose: true, positionBy: 'fixed', leftOffset: -235, topOffset: -190, onShow: function(ct) { ct.find(a.modal).colorbox(); } }); that might do it

Re: [jQuery] ajax

2009-12-11 Thread Charlie
page that gets loaded doesn't include head have you tried $.getScript? or you can insert script in body of page being loaded http://docs.jquery.com/Ajax/jQuery.getScript#urlcallback Jojje wrote: Hi! I have a question regarding ajax. In my script i have a lot of css rules set with

Re: [jQuery] detecting edge cases when swapping divs

2009-12-11 Thread Charlie
next() is a sibling selector. Since it is contained within content div it will only interact with elements within content testing for length is a very handy method. if( $(this).next().length==0) { // will return true if at bottom, would have to test after the animation, or use length==1 if

Re: [jQuery] AJAX POST listener

2009-12-11 Thread Charlie
when in doubt the jQuery docs are your best friend copy/paste straight from Ajax examples: $.ajax({ type: "POST", url: "some.php", data: "name=Johnlocation=Boston", success: function(msg){ alert( "Data Saved: " + msg ); } }); success callbacks fire when return data is

[jQuery] Re: ajax

2009-12-11 Thread Jojje
Thanks, getScript worked :D, appreciate it!!! Now i got another problem :s i´m using special characters åäö cause its a swedish site, iso 8859-1, and when the script loads it doesnt get properly encoded so i cant see those characers.( Im setting textfields with example text ) Is there a way to

Re: [jQuery] proper way

2009-12-11 Thread John Arrowwood
Just put the calls to the functions that do the work inside of .ready(). Put everything else outside of it. As for anonymous functions, they are good for creating a context that avoids polluting your name space. When the function ends, everything defined within disappears into oblivion unless

Re: [jQuery] Variable and additional selectors

2009-12-11 Thread John Arrowwood
var entry = $('#userlist li).clone(); $('stuff',entry)... | $(entry).find('stuff')... $(entry).appendTo('#userlist') On Fri, Dec 11, 2009 at 1:46 PM, Adomatic adobi...@gmail.com wrote: I'm just starting to play with jQuery and, like everyone before me, I'm amazed by it's power. In short,

Re: [jQuery] Random problems with load()?????

2009-12-11 Thread ximo wallas
The NET tab doesn't return anything... It doesn't work, or it works only sometimes, for aparently no reason. --- On Wed, 12/9/09, Juan Ignacio Borda juanignaciobo...@gmail.com wrote: From: Juan Ignacio Borda juanignaciobo...@gmail.com Subject: Re: [jQuery] Random problems with load()? To: