[jQuery] Re: "on click" doesn't work!

2008-11-05 Thread Miri Sherman
Yeah I had to change the "onclick" function to "onchange" and everything works just wonderful!!! Thanks the both of you for all your help!! :) Miri. 2008/11/5 MorningZ <[EMAIL PROTECTED]> > > Juts like Andy says > > http://pastebin.com/m4cbd67f > > btw, you wanted to use "change", not "click"

[jQuery] Re: How to solve this

2008-11-05 Thread Johny
Nobody knows the answer to my question ? :-(

[jQuery] Re: Google Charts

2008-11-05 Thread moscorp
hello Choan, thanks for help ! in php, 80,30,50 in js var valueArray = $.trim($('#mpngicnt').text()).split(','); -- after that, valueArray return 80 30 50 -- still can't pass the array into gchart series: [ $.gchart.series(valueArray, 'red')] please comment ! On 11月5日, 午後9:52, Ch

[jQuery] Re: Survey for pro and non-pre developers

2008-11-05 Thread steviegee
I noticed that the second link was not correct- here's and update Non- professional developer/hobbyist: http://www.surveymonkey.com/s.aspx?sm=qXay_2bP9Ib4zmUAvu2hxbbg_3d_3d On Nov 5, 4:59 pm, steviegee <[EMAIL PROTECTED]> wrote: > Hi everyone - I am a researcher in the Visual Studio User Exper

[jQuery] Re: Bug in IE7 - Complains about Opera bindReady code in jquery

2008-11-05 Thread Jeffrey Kretz
Fair enough. If you have a test case online, I'd be happy to step through the code in debug mode. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gregoriusness Sent: Wednesday, November 05, 2008 7:17 PM To: jQuery (English) Subject: [jQuery]

[jQuery] Re: order of script not right (explained inside)

2008-11-05 Thread Jeffrey Kretz
My guess is it's an absolutely positioned element, which won't respond well to auto margins. If this is the case, one option would be to measure the width of the window at the time of drop-down, calculate and set the css left appropriately. If it is a static/relatively positioned element, and au

[jQuery] Re: order of script not right (explained inside)

2008-11-05 Thread FastNOC
OK hopefull this is the last question. I need this to be smaller. the script takes up the whole width because the css specifies 100%. So i shortened it to 980, the width of my page. But I want it centered. it aligns left. text-align:center centeres the text within the div, not the whole panel, a

[jQuery] Re: Expert jQuery Hackers Needed

2008-11-05 Thread Pixelstuff
Where do the "hacking" skills come in? That you need. On Nov 3, 10:56 am, Syn-UX <[EMAIL PROTECTED]> wrote: > Hey all, This is a shameless post, but our company, Synacor, is in > need to hire some expert jQuery hackers. We basically make internet > portals for ISP's - we need some hackers who

[jQuery] Re: Hide/Show in IE 6

2008-11-05 Thread OutOfTouch
Thanks, I will try it.

[jQuery] Re: Bug in IE7 - Complains about Opera bindReady code in jquery

2008-11-05 Thread Gregoriusness
IE7 is failing when that code block is not commented out. Whether or not IE is trying to execute the code (and the browser detection failing) i'm not quite sure about... I haven't had the time to look into it any further, just flagging it as a potential issue. On Nov 4, 10:25 am, "Jeffrey Kretz

[jQuery] Re: Slide out sidebars

2008-11-05 Thread Jeffrey Kretz
Try something like this: div.toolbox{ position:absolute; top:0px; right:0px; width:220px; height:99%; border-left:solid 1px #00; overflow:hidden overflow-x:hidden; overflow-y:hidden; } Monitor the resize event. window.lastWidth = $(window).bind('resize',adjustToolbox).widt

[jQuery] Form Plugin - how to capture a return value?

2008-11-05 Thread Info
Hello, I am hoping you can point in the right direction. I want to use the Form Plugin to post to a page which will check for an email address. That page will have a query which says the email address is found or not found (email=1 or email=2) How do I go about using the Form Plugin to check for

[jQuery] Re: 26 october occuring two times: datepicker bug?

2008-11-05 Thread Dave Methvin
Sounds like you ran into this bug: http://groups.google.com/group/jquery-ui/browse_frm/thread/d4f1fb64735d9bad/637bfdc13982576e

[jQuery] Re: accessing child element without unique id

2008-11-05 Thread FrenchiINLA
var $col = $('#row1 td') will give you a collection of all td under row1, then you can filter by first, last, or even use ordianal positon like $col[0] etc. On Nov 5, 11:59 am, Jared_T <[EMAIL PROTECTED]> wrote: > I'm trying to access a td text value, as shown in the javascript > below.  The easi

[jQuery] Re: Check if remote file exists.

2008-11-05 Thread Jeffrey Kretz
That's pretty interesting -- I never thought of that. So I imagine an $.ajax({url:'somefile.dat',type:'HEAD',error:do_something}) would be enough to check for a 404. Nifty. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Rudd Sent: We

[jQuery] Re: Scrolling inside a div with mousemove

2008-11-05 Thread Jeffrey Kretz
Well, you could do something like this (completely untested, sorry). The hover events bind and unbind the mousemove to prevent resource drain. $('#thisdiv').hover(startScroll,stopScroll); function startScroll(e) { var div = $(this).bind('mousemove',scrollThis); var o = div.offset(); th

[jQuery] Survey for pro and non-pre developers

2008-11-05 Thread steviegee
Hi everyone - I am a researcher in the Visual Studio User Experience team - I am undertaking research focused on professional and non- professional web developers. I'd really appreciate you taking 5 minutes to run through one of the survey's: Professional Developers: http://www.surveymonkey.com/

[jQuery] validator plugin dynamic form names

2008-11-05 Thread lance123
Hi Jorn, Really like the plugin! How do use dynamic form names? I have tried numerous methods but it won't accept my variable. ie $("#"+MyFormName) My variable is set ok but it just does not seem to work. The reason I want to do this is because I am dynamically creating the form names from v

[jQuery] Re: How to load only one image at a time using JQuery Cycle Plugin?

2008-11-05 Thread Mike Alsup
> Mike, If I call  var $slideshow = $ > ('#slideshow').cycle('stop').empty();  when it is not running  and is > empty will it error out? Don't be afraid to experiment with these things yourself. You'd already have your answer by now. Mike

[jQuery] I'm having problems making a div show up when I load the page

2008-11-05 Thread Brian
I'm using jqModal.. I simply want an email subscription list to pop up when the page is loaded here's what I've got. $(document).ready(function() { $('#dialog').jqm(); }); view <-that is a link... I don't want to use a manual link to open up the div Close Please Sign up for

[jQuery] Slide out sidebars

2008-11-05 Thread Taco
I am attempting to design a site with a central liquid area, and two side areas that provide auxiliary information. When the browser window is made smaller and the viewport is reduced below 1024 px, I want these side areas to slide into a minimized position showing different xhtml files. when they

[jQuery] Scrolling inside a div with mousemove

2008-11-05 Thread Dan
Hello, I'm trying to move from MooTools over the jQuery as it seems to be a much reliable and user friendly framework. However I need to recreate something that I currently have MooTools doing but am having trouble figuring out how it would work. I'm trying to replicate the effect seen in the '

[jQuery] TableSorter Pagination: Move pagination to top

2008-11-05 Thread ripcurlksm
Is there any way i can move the pagination div to the top of the table sort-- because the last page of the table sort always has a white gap between the last row and the pagination buttons. Two ways to solve this would be to either move the pagination to the top or fix the pagination div so tha

[jQuery] Re: Check if remote file exists.

2008-11-05 Thread Karl Rudd
What you want is a "HEAD" request. See the following for details: http://www.jibbering.com/2002/4/httprequest.html http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro3/ Karl Rudd On Thu, Nov 6, 2008 at 5:54 AM, Genu <[EMAIL PROTECTED]> wrote: > > Is it possible to use jquery

[jQuery] Re: Clone problem in IE...

2008-11-05 Thread Choan Gálvez
On Nov 5, 2008, at 6:53 PM, Rafael Soares wrote: I had a similar problem... The difference is that I'm trying to clone the file input inside the same document, just another, hidden, form. I found a workaround, but I don't know if it'll work for you as well. Since I was going to clear the fo

[jQuery] Re: Hide/Show in IE 6

2008-11-05 Thread Kru
Firebug Lite i should say considering its IE On Nov 6, 12:35 pm, Kru <[EMAIL PROTECTED]> wrote: > I cant see why it shouldnt. Just give it a try?! Maybe even use > firebug - itll take all of about 10 seconds that way :) > > On Nov 6, 10:34 am, OutOfTouch <[EMAIL PROTECTED]> wrote: > > > Will this

[jQuery] Re: Hide/Show in IE 6

2008-11-05 Thread Kru
I cant see why it shouldnt. Just give it a try?! Maybe even use firebug - itll take all of about 10 seconds that way :) On Nov 6, 10:34 am, OutOfTouch <[EMAIL PROTECTED]> wrote: > Will this work in IE 6? > > $('#listings').show(); > > I can't remember for sure but I thought that didn't work in IE

[jQuery] Re: How to load only one image at a time using JQuery Cycle Plugin?

2008-11-05 Thread OutOfTouch
> > Can I clear out what was previously loaded, so the only the selected > > category is being viewed? > > Yes.  Stop the slideshow, empty it, reload it, and then restart it. > > var $slideshow = $('#slideshow').cycle('stop').empty(); > $slideshow.append( mySlide1); > $slideshow.append( mySlide2);

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Richard D. Worth
On Wed, Nov 5, 2008 at 5:29 PM, Richard D. Worth <[EMAIL PROTECTED]> wrote: > > On Wed, Nov 5, 2008 at 3:29 PM, Jared Toporek <[EMAIL PROTECTED]> wrote: > >> I hate to barge in on this discussion with something unrelated, but how >> long does it take for something to post? I've sent 2 posts in the

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Richard D. Worth
On Wed, Nov 5, 2008 at 3:29 PM, Jared Toporek <[EMAIL PROTECTED]> wrote: > I hate to barge in on this discussion with something unrelated, but how > long does it take for something to post? I've sent 2 posts in the last 30 > minutes and they are not appearing. Any idea what I might be doing wrong

[jQuery] Re: Problems with the JSON return from the jQuery.ajax() method

2008-11-05 Thread Jeffrey Kretz
Your second "documentos" array (the empty one), has a comma after it, which is not followed by another property. When I tried to eval your original json, I got an error. After removing that comma, it eval'ed correctly. Hope this helps. JK -Original Message- From: jquery-en@googlegroup

[jQuery] Re: Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread MorningZ
Posted this code: http://paste.pocoo.org/show/86103/ on an earlier exact post like this: $.tablesorter.addParser({ id: 'dd.mm.', is: function(s) { return false; }, format: function(s) {

[jQuery] Re: Problems with the JSON return from the jQuery.ajax() method

2008-11-05 Thread Augusto TMW
Hi, thanks about your answer. This is a example of my JSON: {"mes":{ "numero":"11", "ano":"2008", "reunioes": [ { "dia":"27", "horario":"15:50", "local":"lorem ipsum",

[jQuery] Re: Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread aquaone
ack, just realized you're doing dd.mm so gotta change it to s = s.replace(/(\d{1,2})\.(\d{1,2})\.(\d{2,4})/, "$2/$1/$3"); i think? stephen On Wed, Nov 5, 2008 at 13:50, aquaone <[EMAIL PROTECTED]> wrote: > Yes but it may be better to change your separator. > > I haven't tested this but it should

[jQuery] Re: Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread aquaone
Yes but it may be better to change your separator. I haven't tested this but it should work... $.tablesorter.addParser({ id: "dotDate", is: function(s) { return /\d{1,2}\.\d{1,2}\.\d{2,4}/.test(s); }, format: function(s,table) { s = s.replace(/(\d{1,2})\.(\d{1,2})\.(\d{2,4})/, "$1

[jQuery] Re: Effect Like slideUp/Down

2008-11-05 Thread Andy Matthews
There's also show/hide. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Panman Sent: Wednesday, November 05, 2008 3:09 PM To: jQuery (English) Subject: [jQuery] Effect Like slideUp/Down I cannot for the life of me figure this out. I know it mu

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Jared Toporek
I hate to barge in on this discussion with something unrelated, but how long does it take for something to post? I've sent 2 posts in the last 30 minutes and they are not appearing. Any idea what I might be doing wrong? On Wed, Nov 5, 2008 at 2:24 PM, Jeffrey Kretz <[EMAIL PROTECTED]> wrote: > >

[jQuery] jquery validation unhighlight issue

2008-11-05 Thread kedr
my js is as follows: var validator = $('#myForm').validate({ onfocusout: false, onkeyup: false, rules: { prefix: { required: true }, name: { required: true }

[jQuery] Effect Like slideUp/Down

2008-11-05 Thread Panman
I cannot for the life of me figure this out. I know it must be easy, just not finding the solution. I'd like to toggle() something and use the "slide" effect. However, I don't like how the UI slide effect works. It slides the content out of view then brings whatever was below up. I'd rather have

[jQuery] Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread Josip Lazic
Is it possible to sort column with dates in dd.mm. format?

[jQuery] problems with unhighlight of error labels with jquery validation 1.4

2008-11-05 Thread kedr
my js is as follows: var validator = $('#myForm').validate({ onfocusout: false, onkeyup: false, rules: { prefix: { required: true }, name: { required: true }

[jQuery] print out td in tr without unique ids

2008-11-05 Thread Jared_T
Here's what I am trying to do - I want to print out the text value of a particular td. The easy solution would be to give each td in each row a unique id (change code below so the first td to id="row1_col1"). However if there is a way to access the text in col1 of row1 with jquery without giving

[jQuery] Async TreeView - loading multiple nodes

2008-11-05 Thread yitznewton
Greetings: Thank you, Jörn, for a wonderful plugin. I'm trying to load several branches asynchronously immediately when the document loads: Root | - Books - Journals - Article Databases Each one of these three is meant to load a different set of children (e.g. books.php, journals.php, dbs.php;

[jQuery] accessing child element without unique id

2008-11-05 Thread Jared_T
I'm trying to access a td text value, as shown in the javascript below. The easiet way to solve this problem would be to give each td id value a unique identifier (i.e. td id="row1_col1") Is it possible to access the td element of a tr with a unique tr id tag without naming each td id uniquely?

[jQuery] Hide/Show in IE 6

2008-11-05 Thread OutOfTouch
Will this work in IE 6? $('#listings').show(); I can't remember for sure but I thought that didn't work in IE 6. Thanks!

[jQuery] Re: Best event for changing the content of a div?

2008-11-05 Thread Chris
$(document).ready() is the soonest possible opportunity without using inline script (and arguably sooner than an inline script). You cannot use javascript to select your div until the DOM has been loaded, and $(document).ready() fires as soon as the DOM has been loaded. This happens before the pag

[jQuery] Re: jCarousel, localScroll, other options?

2008-11-05 Thread genius switch
Can that be customized to have the bouncy effect? On Nov 5, 8:57 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > Maybe SerialScroll ? > > -- > Ariel Fleslerhttp://flesler.blogspot.com > > On Nov 5, 10:45 am, genius switch <[EMAIL PROTECTED]> wrote: > > > Here is my issue, I have used jCarousel to

[jQuery] Re: Toggle and Nested Divs

2008-11-05 Thread n8cshaw
Well, no one followed up and I kept experimenting and found that if I put the event call in the onclick attribute of the link, it works as expected. If I try to bind the onclick event on document ready, it does not work. Works: onclick="showHideExactDates();" Does not Work: jq("#dateExactShowHid

[jQuery] Re: Best event for changing the content of a div?

2008-11-05 Thread Elwood Casey
Correct: I'm not trying to change the content before the div loads. I'm trying to change it at the soonest possible opportunity, but without inline script! I'm hoping for an event that fires on a per element basis, when the element is ready - i.e $(element).ready(). The only event that seems to ma

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Jeffrey Kretz
Heh. I like that -- the Code Jihad. I agree 100% about failing silently being a BAD THING(tm). However, our disagreement involves what constitutes a fail. The only thing we've been trying to say is, an empty result set is only a fail under certain circumstances. To define an empty result set

[jQuery] Safe Validate for Salesforce

2008-11-05 Thread Seth - TA
I am using the Validate plugin for validating our contact form which sends data into SalesForce. We just implemented the AdWords plugin for SalesForce and they say that using form.submit will break their javascript for SalesForce. Currently with the Validate plugin I do some custom functions using

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Eric Martin
brian, > Can we lighten up now? This is, by far, the most friendly, relaxed technical group of people you are going to find on the Internet. I think you might be taking it a little too personal. If you want to add something in your application that makes it behave in a certain way, there is not

[jQuery] Re: Accordion activate not working

2008-11-05 Thread KCWebMonkey
I got this to work finally by passing in the ID of the toggle i want to set active. On Nov 5, 11:01 am, KCWebMonkey <[EMAIL PROTECTED]> wrote: > I have an accordion which i am trying to activate on page load, and > the .activate function doesn't appear to be working. can someone show > me how i'm

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread brian
I have a personal jihad against apps that fail silently. My jihad listens to no reason. Sure, they have valid points that make sense from the viewpoints they hold. I don't share their viewpoints. OK? Can we lighten up now? On Nov 5, 1:13 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > That '

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Brandon Aaron
On Wed, Nov 5, 2008 at 1:10 PM, brian <[EMAIL PROTECTED]>wrote: > > > > Now $('#non-existing-id').fail().toggle() will fail, > > but will work if it's not empty. > > That's actually right on the money. Thanks. > > //Still thinks fail silently on id queries is insane, but knows a > religious argum

[jQuery] Re: Advice on sIEve/Drip?

2008-11-05 Thread Jeffrey Kretz
Thanks a bunch for that link, also Josh for your advice. After running this leak detector, nothing found as well. Also, the 300MB leak hasn't recurred since that one time. My current best guess is that the leaks occurred while I was debugging javascript code and refreshing the page -- so the le

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread ricardobeat
That 'religious' bit is a bit offensive don't you think? There are good reasons for failing silently as Mike, Richard and Jeffrey have pointed out. The fact you don't accept/understand them doesn't make their (and mine) opinions less empirical. - ricardo On Nov 5, 5:10 pm, brian <[EMAIL PROTECTE

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread ricardobeat
oops, missed a line: jQuery.oldfind = jQuery.find; jQuery.find = function(t,con){ var f = jQuery.oldfind(t,con); if (f.length == 0) throw('Empty query'); return f; } On Nov 5, 5:10 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Hey Brian, try this: > > jQuery.oldfind = jQuery.find; >

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread brian
> Now $('#non-existing-id').fail().toggle() will fail, > but will work if it's not empty. That's actually right on the money. Thanks. //Still thinks fail silently on id queries is insane, but knows a religious argument when he sees one.

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread ricardobeat
Hey Brian, try this: jQuery.oldfind = jQuery.find; jQuery.find = function(t,con){ var f = jQuery.oldfind(t,con); if (f.length == 0) throw('Empty query'); } cheers, - ricardo On Nov 5, 1:08 pm, brian <[EMAIL PROTECTED]> wrote: > > It's not a failure to run a query and find nothing - that

[jQuery] Re: Check if remote file exists.

2008-11-05 Thread Andy Matthews
I think if you use the $.ajax method, you can implement the built in failure method and go from there. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Genu Sent: Wednesday, November 05, 2008 12:54 PM To: jQuery (English) Subject: [jQuery]

[jQuery] Check if remote file exists.

2008-11-05 Thread Genu
Is it possible to use jquery to check of remote file (url) exists or not. For example, I have this url: http://www.myserver.com/media/test.mp3 can I use a jquery http request to see if the url is valid or not?

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Balazs Endresz
You can still write a simple plugin: jQuery.fn.fail=function(){ return this.length ? this : null; } Now $('#non-existing-id').fail().toggle() will fail, but will work if it's not empty. Consider this for example: $('#non-existing-id').add('.anotherClass'); if it failed you cannot add other elem

[jQuery] Re: Clone problem in IE...

2008-11-05 Thread Rafael Soares
I had a similar problem... The difference is that I'm trying to clone the file input inside the same document, just another, hidden, form. I found a workaround, but I don't know if it'll work for you as well. Since I was going to clear the form after the whole thing anyway, I decide to do the inve

[jQuery] Re: Best event for changing the content of a div?

2008-11-05 Thread Chris
I could be mistaken here, but doesn't jQuery (or javascript for that matter) need the DOM to be loaded before you can start selecting things from it? You could put the script elsewhere on the page, but you're still going to have to wait for that div to load before you can change its contents. If y

[jQuery] Re: [validate] Issues using requred:#radio:checked with custom AddMethid validator

2008-11-05 Thread Jörn Zaefferer
You have to modify your method to make it optional, like this: $.validator.addMethod("dropdown", function(value, element) { return this.optional(element) || element.selectedIndex>0; },''); Jörn On Wed, Nov 5, 2008 at 6:23 PM, Pezza <[EMAIL PROTECTED]> wrote: > > Hi > > Using JQuery + Validat

[jQuery] Re: "on click" doesn't work!

2008-11-05 Thread MorningZ
Juts like Andy says http://pastebin.com/m4cbd67f btw, you wanted to use "change", not "click" (as my code shows and works) On Nov 5, 12:49 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > It might help if you moved the jQuery code out of the HTML. It would help > you focus on each seperatel

[jQuery] Re: "on click" doesn't work!

2008-11-05 Thread Andy Matthews
It might help if you moved the jQuery code out of the HTML. It would help you focus on each seperately which could assist you in finding the problem. Plus, if you're just going to use jQuery inline, then why bother with using it at all? andy -Original Message- From: jquery-en@googlegrou

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Mike Alsup
> I have to disagree on this being a design flaw. This is one of my favorite > design features of jQuery. I often think of it like SQL. You might construct > a SQL statement like I agree 100% with Richard. One of the defining design characteristics of jQuery is how it embodies implicit iteratio

[jQuery] Re: remove() Method Causes Flicker in Firefox

2008-11-05 Thread Joe
Any ideas on this? Still stuck... On Nov 1, 4:33 pm, Joe <[EMAIL PROTECTED]> wrote: > I have to remove it, because the code directly following shows it > loading the new image and appending it to the parent div.  So in order > for the image that was faded out to not be there, it has to be > remo

[jQuery] [validate] Issues using requred:#radio:checked with custom AddMethid validator

2008-11-05 Thread Pezza
Hi Using JQuery + Validate plugin. When I create a new custom rule using a call to addMethod then use required:"myradio:checked" it will always trigger the validation to fail even if the radio is unchecked. This behaviour does not occur when you use the built in validation methods. $.validator.a

[jQuery] Day and Month Picker

2008-11-05 Thread Rob Bazinet
Hello; I am new here, sorry if this may have been covered before but my searching on the group did not return anything useful. I need to be able to allow entry of just the month and day of a date, no year. I am aware of DatePicker but it doesn't seem to allow this. Is there a way, using jQuery

[jQuery] Accordion activate not working

2008-11-05 Thread KCWebMonkey
I have an accordion which i am trying to activate on page load, and the .activate function doesn't appear to be working. can someone show me how i'm implementing it incorrectly? JavaScript: $(document).ready(function() { $('#childnav').accordion({

[jQuery] "on click" doesn't work!

2008-11-05 Thread Miri
Hi everyone! I've been trying to find the problem in the code below, but I have no idea what it is. The problem is with the "on click" option - it just doesn't work.. Can anyone please help me?!?! Thanks very much in advance.. Miri. The code: # # Do you want to subscribe to our newsletter? #

[jQuery] Re: Trying to grasp basics of scrolling a TBODY

2008-11-05 Thread Jeffrey Kretz
Cool, Glad you got it sorted out. JK From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Downs Sent: Wednesday, November 05, 2008 5:06 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Trying to grasp basics of scrolling a TBODY Jeffrey Kretz wrote:

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Jeffrey Kretz
Richard is exactly correct IMO. The separation of HTML and Javascript allows you do write more general javascript in attached scripts that can be applied to any page. $('img.ihover').hover( /* Do stuff */ ); Any pages with image class="ihover" will get the hover function. Nothing will happen o

[jQuery] Re: Cycle Plug-in works with ajax on first call, not on subsquent calls

2008-11-05 Thread pedalpete
My apologies Mike, I am using firebug with Firefox, and hadn't seen that error in quite a while, I then realized that from my first post on this subject to when you re-requested the url, I had re-introduced the error on the testing site. Now combining the fix with stopping and emptying the cycle

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Richard D. Worth
On Wed, Nov 5, 2008 at 10:08 AM, brian <[EMAIL PROTECTED]>wrote: > > > > It's not a failure to run a query and find nothing - that's a > > perfectly valid use case. > > I understand where you are coming from on the querying side, but > shouldn't calling a method on an empty object fail? How can I

[jQuery] [datepicker] 26 october occuring two times: datepicker bug?

2008-11-05 Thread Gauthier Segay
Hello, I've weird thing with datepicker, my dates are offset by one day (13 november 2008 is friday), when checking where the inconsistency come, I've find that 26 october is occuring twice. Here is how I instanciate datepicker : $('myselector').datepicker({dateFormat:'dd/mm/yy'}); Does the fa

[jQuery] Re: Best event for changing the content of a div?

2008-11-05 Thread Klaus Hartl
If you don't want to put a script after the div it won't get any faster then DOM ready. You could although poll for that element. Say it had an id of 'asap' (untested): (function() { var f = function() { var div = document.getElementById('asap'); if (div) { // alt

[jQuery] Best event for changing the content of a div?

2008-11-05 Thread the_woodsman
Hi, I want to change the content of a div asap. I know about document.ready, but if possible I'd rather do this earlier. I'd also rather do it as an event instead of loading a script file after the div appears in the page. I tried the load() event, but this didn't seem to fire at all. Anyone g

[jQuery] Re: Advice on sIEve/Drip?

2008-11-05 Thread Josh Nathanson
An important aspect of this is to focus on what happens when you reload the page or navigate away. If the memory drops back down to its original state, you have helped the end user by not leaving them a "legacy" of used memory. It's much more difficult to try and keep memory from climbing in

[jQuery] Re: remote issue

2008-11-05 Thread Alexsandro_xpt
P.S. I am mean about NewsLetter Form, find it on middle of the page in the next text "Receba nosso informativo por e-mail:" Thz. On 5 nov, 13:17, Alexsandro_xpt <[EMAIL PROTECTED]> wrote: > Inhttp://jquery.bassistance.de/validate/demo/milk/valid on key down > events, how is it work? > > On 5

[jQuery] Re: Can Jquery fetch file, and display download dialog?

2008-11-05 Thread Bil Corry
tlphipps wrote on 11/5/2008 8:45 AM: > The default action for handling .mp3 downloads is determined by the > user's browser and you cannot change that from your end. But you can > create specific server-side headers that will instruct the browser to > download the file as an 'attachment' instead

[jQuery] Re: remote issue

2008-11-05 Thread Alexsandro_xpt
In http://jquery.bassistance.de/validate/demo/milk/ valid on key down events, how is it work? On 5 nov, 13:15, Alexsandro_xpt <[EMAIL PROTECTED]> wrote: > Why validate athttp://www.assessoriatecnica.com.brfire submit event > before remote is valid?

[jQuery] [validate] remote issue

2008-11-05 Thread Alexsandro_xpt
Why validate at http://www.assessoriatecnica.com.br fire submit event before remote is valid?

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread brian
> It's not a failure to run a query and find nothing - that's a > perfectly valid use case. I understand where you are coming from on the querying side, but shouldn't calling a method on an empty object fail? How can I fade in...nothing? I'm going to still think of this as a huge design flaw.

[jQuery] please help with accordion

2008-11-05 Thread powrtoch
sorry to repost, but i'm really stumped on this one. what ive got is a very basic accordion menu, but it performs really strangely in IE 7, shifting the entire document below it and just looking terrible. you can see the problem at http://www.bulldogbucks.uga.edu/index2.html and a basically-ide

[jQuery] Re: Can Jquery fetch file, and display download dialog?

2008-11-05 Thread tlphipps
This is not something javascript/jquery can solve. From a web developer standpoint, you really only have one option and that is to create server-side code (ASP, PHP, etc.) that will force a file download box. The default action for handling .mp3 downloads is determined by the user's browser and

[jQuery] Re: Advice on sIEve/Drip?

2008-11-05 Thread trixta
On Nov 4, 12:20 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > OUCH. > > With over 25,000 lines of javascript code (full featured CMS) that's a > nightmare to track down. > > Am I out of luck?  Are there no other alternative tools like sIEve that are > still in development? > Hi, there is an

[jQuery] Re: Can Jquery fetch file, and display download dialog?

2008-11-05 Thread Genu
Hey, thanks for the reply. I tried the above function, and now the link just doesn't do anything when I click on it. I don't understand where you got '.dialogBox' from, however.

[jQuery] Re: multiple select boxes with the same name submiting via ajax

2008-11-05 Thread tlphipps
By using the # character in your selector, you're indicating that you are targeting the element by ID. Having multiple items on a page with the same ID will not work. I would suggest you create a special class for these selects and then target them that way. example: > $(document).ready(fun

[jQuery] Re: Google Charts

2008-11-05 Thread Choan Gálvez
On Nov 5, 2008, at 5:59 AM, moscorp wrote: gchart can't recognize series data in barVert... can't work in var valueArray = $('#mpngicnt').text(); //80,30,50 series: [ $.gchart.series([ valueArray ], 'red')], but it works in series: [ $.gchart.series([ 80,30,50 ], 'red')], how can i solve it

[jQuery] Re: jCarousel, localScroll, other options?

2008-11-05 Thread Ariel Flesler
Maybe SerialScroll ? -- Ariel Flesler http://flesler.blogspot.com On Nov 5, 10:45 am, genius switch <[EMAIL PROTECTED]> wrote: > Here is my issue, I have used jCarousel to accomplish what I need... > however the markup is bothering my anal tendencies for pure > semantics. > > I'm using jCarousel

[jQuery] Re: Problems with the JSON return from the jQuery.ajax() method

2008-11-05 Thread Choan Gálvez
Hi. On Nov 4, 2008, at 10:48 PM, Augusto TMW wrote: Hi, I'm trying do return a JSON with a $.ajax() method. here is my entire function: function carregaMes(d){ if(!(_reunioes["reg"+d.month+d.year])){ $.ajax({ url: "reunioes.jsp", data: "mes="+d.mont

[jQuery] Re: best way to pass parameters to .load()

2008-11-05 Thread Choan Gálvez
Hi. On Nov 5, 2008, at 1:02 AM, HiddenPhoenix wrote: is there a difference in passing parameters to .load $("#myDiv").load("myScript.php?var=x&var2=y&var3=z") vs $("#myDiv").load("myScript.php", {var:x, var2:y, var3:z}) In the first case, a GET request is performed. In the latter, the

[jQuery] Re: Ajax cross site (same domain) problems

2008-11-05 Thread kudu
Thanks for the suggestion, I have checked document.domain and it consistently reflects the correct (i.e. base domain) value. I have gone to the extent of seting this very early in the process before any other javascript has loaded and the problem persists. On Nov 5, 7:43 am, ricardobeat <[EMAIL P

[jQuery] Re: Toggle and Nested Divs

2008-11-05 Thread n8cshaw
Thanks Ricardo. I have put the code up at http://jsbin.com/atiza As for the double quotes on the Velocity call, those are evaluated on the server prior to being sent to the client, so no worries there. I appreciate the help with this! It seems like this should be a very easy thing to do (I did t

[jQuery] Re: Ajax cross site (same domain) problems

2008-11-05 Thread ricardobeat
It should. Check your document.domain after all scripts have run to see if it's really changed. On Nov 4, 8:07 pm, kudu <[EMAIL PROTECTED]> wrote: > I am attempting to call page through ajax accross different sites > within the same doman. > The error displayed is: Access to restricted URI denied

[jQuery] Re: order of script not right (explained inside)

2008-11-05 Thread FastNOC
My god. I cannot believe I dind't think of something so elemental. Thank you! ricardobeat wrote: > > > CSS z-index property: http://www.w3schools.com/Css/pr_pos_z-index.asp > > #dropdownpanel { z-index: 1 } > > cheers, > - ricardo > > On Nov 5, 2:00 am, FastNOC <[EMAIL PROTECTED]> wrote: >

  1   2   >