Re: [jQuery] Re: Benefit of extending jQuery with a function vs. a JavaScript function?

2009-11-09 Thread Michel Belleville
I'd say extend jQuery when you're writing generic plugins that may be reused in another context, your application-specific code has no business extending jQuery. Michel Belleville 2009/11/10 Dave Methvin > > Hello, Marty McGee here. I was hoping to open a discussion about the > > benefits of

[jQuery] jQuery Logic - Three elements used to cycle information

2009-11-09 Thread Gavy
Hi, I'm hoping I can get a bit of help with a logic issue. I have a horizontal-scrolling content element (similar to http://www.ndoherty.biz/demos/coda-slider/1.1.1/#2 this ). It uses three DIVs with three classes - prev, current, and next. The elements' contents are loaded from an XML file of

Re: [jQuery] making images cycle with clueTip

2009-11-09 Thread Scott Sauyet
Jack wrote: Hello, is it possible to use clueTip to cycle images. I used jcycle to make a slide show based on images in an html page. That works fine. Now I would like these images to appear in a clueTip. I tried the clueTip feature that allows you to include a web page so I included the web tha

Re: [jQuery] Calling function in jQuery

2009-11-09 Thread Murali Krishna B
Hi all, Now I am able to call jQuery functions from other blocks. Please help me in solving this one also. I have a form with select option. It will be populated dynamically after every ajax request. In form, I have a select tag with no options. After getting a content from ajax, I am prepa

[jQuery] tablesorter + AJAX

2009-11-09 Thread sumdog
Hey there, I've read through several AJAX+tablesorter posts and am still a little confuzzled on this. I am loading an entire table into a div like so: Loading... $(document).ready( function() { $.get('/ajaxRates',{}, function(data) { $('#mainContent').

[jQuery] Re: jQuery $.get callback function not being called

2009-11-09 Thread ArnieML
Hello Michel, Thank you very much for your help. I've used Firebug to verify that json_encode($tweets) outputs json data. But on another php discussion thread, they suggested to really verify that only json data is being encoded, without spaces before and after the data. So I'm going to go through

[jQuery] [Treeview] Manually toggling a node

2009-11-09 Thread James
I've been working with Jörn Zaefferer's treeview control, and overall have found it great. But I am having problem, not as much with dynamically adding items, but getting them to properly display once they are added. My treeview is something like this: Level 1 Item (open) Level 2 Item (open)

Re: [jQuery] how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-09 Thread Karl Swedberg
it would be helpful to see a page with the html output rather than your php variables. Also, try using a span rather than a div for the expandText. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 5, 2009, at 6:04 AM, Kei Simone wrote: Hi i noticed

Re: [jQuery] making images cycle with clueTip

2009-11-09 Thread Karl Swedberg
I'm not sure I follow what you're trying to do. Do you have a test page that shows what you've done so far? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 5, 2009, at 3:37 PM, Jack wrote: Hello, is it possible to use clueTip to cycle images. I used j

Re: [jQuery] jquery form...

2009-11-09 Thread Lord Gustavo Miguel Angel
My error. original code: $('#jsonForm').ajaxForm({ // dataType identifies the expected content type of the server response dataType: 'json', My code: $('#jsonForm').ajaxForm({ // dataType identifies the expected content type of the server response datatype:

Re: [jQuery] jquery form...

2009-11-09 Thread Lord Gustavo Miguel Angel
i don´t understand i write this: From: Matt Quackenbush Sent: Monday, November 09, 2009 10:20 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] jquery form... Why? Simple. Because the variable does not exist. :D On Mon, Nov 9, 2009 at 7:09 PM, Lord Gustavo Miguel Angel wrote:

[jQuery] cloning a canvas

2009-11-09 Thread eclipse
Hi all, Does anyone know if this is possible? I'm using the jqplot plugin to create graphs on my page, and when a user clicks on a button, I want to duplicate the graph in a new window so they can print it by itself. I'm doing it right now by opening a new window and appending the original plot, b

Re: [jQuery] jquery form...

2009-11-09 Thread Matt Quackenbush
Why? Simple. Because the variable does not exist. :D On Mon, Nov 9, 2009 at 7:09 PM, Lord Gustavo Miguel Angel wrote: > hi. > i´m try with this example: > http://www.malsup.com/jquery/form/#json > > but Alert(data.message) return "undefinited" > why? > > tk-. >

[jQuery] jquery form...

2009-11-09 Thread Lord Gustavo Miguel Angel
hi. i´m try with this example: http://www.malsup.com/jquery/form/#json but Alert(data.message) return "undefinited" why? tk-.

[jQuery] Re: URGENT!!! Need Help!!! IE bug in carousel3d plugin on image animation click after ajax call

2009-11-09 Thread bourne_net2009
Here the corrected link for my carousel3d plugin --> http://www.afhrgolive.com/newVersion_AFHRGoLive/jquery/jquery.carousel3d.js

[jQuery] URGENT!!! Need Help!!! IE bug in carousel3d plugin on image animation click after ajax call

2009-11-09 Thread bourne_net2009
I have a IE bug in carousel3d plugin on image click animation after ajax call. The ajax call return a new set of images html tags, but only in internet explorer, when click on a new image. The animation start and go back at it initial position. here the link of my site --> http://www.afhrgolive.co

[jQuery] Re: jquery form and "myfom"

2009-11-09 Thread Mike Alsup
> I want that 10 minutes of my life back... :\ Ha ha. Love it!

[jQuery] Reloading Problem

2009-11-09 Thread Kaley
Hey guys, I'm working on a "status"-Updater. It works, there is just one problem, after sending a Status I have to manual reload the page to let the script work again. Do you can help me please? Here's the code: $(document).ready(function(){ $("form#status_form").submit(function(){

[jQuery] Cascade plugin and multiple selected values

2009-11-09 Thread rmachado
Hello to all I using the cascade plugin in 3 dropdowns and it works fine, but in some ocasions I need to pre selected the values because the user is editing the previous recorded selections. I manage to selected the value of the first dropdown with the following code: $('#chained [value=1').attr(

[jQuery] Re: Benefit of extending jQuery with a function vs. a JavaScript function?

2009-11-09 Thread Dave Methvin
> Hello, Marty McGee here.  I was hoping to open a discussion about the > benefits of extending jQuery with your own custom functions versus > simply writing your functions in JavaScript and calling them without > extending jQuery first. I am not a fan of extending the jQuery object with unrelated

Re: [jQuery] Re: How to keep two items having the same value

2009-11-09 Thread Charlie Griefer
On Mon, Nov 9, 2009 at 4:06 PM, Dave Methvin wrote: > > > What I want is: When the user choose an item from the number1 > > , the number2 will automatically change to the same > > value to the number2. > > Maybe something like this? > > $("select[name=number1]").change(function(){ > $("select[na

[jQuery] Re: Return key doesn't invoke OK button in JQuery dialog

2009-11-09 Thread Dave Methvin
> For some reason, Return key doesn't invoke OK button in JQuery dialog. > Any idea what could be the issue? Do you have some simple code demonstrating the problem? If the OK button is a submit button in a form this generally should work, but an example would be good.

[jQuery] Re: How to keep two items having the same value

2009-11-09 Thread Dave Methvin
> What I want is: When the user choose an item from the number1 > , the number2 will automatically change to the same > value to the number2. Maybe something like this? $("select[name=number1]").change(function(){ $("select[name=number2]").val( $(this).val() ); }); If the change even

[jQuery] Re: jQuery Tabs -- Long content in hidden tabs

2009-11-09 Thread Dave Methvin
If this is UI Tabs you should ask in the jQuery UI group.

[jQuery] button with jquery

2009-11-09 Thread Chuck
Hi, I'm having trouble in making an ajax call with an html button. Can anyone answer my questions? Thanks in advance! url: comment.php?id=1 Question 1: how do I get the php variable $_REQUEST['id'] in jquery? Question 2: when I clicked the button, the url goes back to comment.php. How can I ma

[jQuery] How to keep two items having the same value

2009-11-09 Thread Aaron
Hi all, I have two tags which have the same in the different positions of a page: For example, 1 2 3 4 5 ... ... 1 2 3 4 5 What I want is: When the user choose an item from the number1 , the number2 will automatically chan

[jQuery] Plumtree portal

2009-11-09 Thread Wendy
Does anyone have experience in implementing jquery inside of the Plumtree portal (AKA BEA Aqualogic, AKA Oracle Webcenter Suite)? Wendy

[jQuery] Return key doesn't invoke OK button in JQuery dialog

2009-11-09 Thread GP
For some reason, Return key doesn't invoke OK button in JQuery dialog. Any idea what could be the issue?

[jQuery] Benefit of extending jQuery with a function vs. a JavaScript function?

2009-11-09 Thread marty.mcgee
Hello, Marty McGee here. I was hoping to open a discussion about the benefits of extending jQuery with your own custom functions versus simply writing your functions in JavaScript and calling them without extending jQuery first. Please enlighten me and the rest of the humble jQuery library addict

[jQuery] jQuery Tabs -- Long content in hidden tabs

2009-11-09 Thread ripcurlksm
I am using jQuery tabs and when I have very long content within the tabs, my browsers scroll bar reflects the content in the tab with the most content. Example, "Tab 1" & "Tab 3" has a very long scroll bar, even though it has no content (because of Tab 2) and you can scroll down through the empty

Re: R: [jQuery] Check form before submit with ajax

2009-11-09 Thread BMnt
Hi Salvatore, Thank you for your response. Do you have a basic example to see how to use this function? Regards, BMnt On 7 nov, 10:12, "Salvatore FUSTO" wrote: > Use the $.ajax() function: in it among other you can specify a structure of > data to pass to your action page > > -Messaggio origi

Re: [jQuery] Div change

2009-11-09 Thread Michel Belleville
http://docs.jquery.com/Events/change#fn says : "The change event fires when a control loses the input focus and its value has been modified since gaining focus." Sadly a div is not a control and I don't know of a method to do precisely what you're trying to do the way you want to do it. Though if

Re: [jQuery] Div change

2009-11-09 Thread Charlie Griefer
On Mon, Nov 9, 2009 at 3:26 PM, factoringcompare.com < firstfacto...@googlemail.com> wrote: > When changes with a AJAX response I would > like to fire a alert. What am I doing wrong? > > $(document).ready(function() { > > $("#MyResult").change(function (){ >alert('hi'); > }); > > }); > I

[jQuery] Div change

2009-11-09 Thread factoringcompare.com
Hi, When changes with a AJAX response I would like to fire a alert. What am I doing wrong? $(document).ready(function() { $("#MyResult").change(function (){ alert('hi'); }); });

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Charlie Griefer
I want that 10 minutes of my life back... :\ On Mon, Nov 9, 2009 at 2:47 PM, Lord Gustavo Miguel Angel < goosfanc...@gmail.com> wrote: > ok. > thnks´ i treid it. > > > *From:* Charlie Griefer > *Sent:* Monday, November 09, 2009 7:41 PM > *To:* jquery-en@googlegroups.com > *Subject:* Re: [jQuer

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Lord Gustavo Miguel Angel
ok. thnks´ i treid it. From: Charlie Griefer Sent: Monday, November 09, 2009 7:41 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] jquery form and "myfom" name your elements with whatever name you want. can be selected via: $('#xyz') $('.blah') (this will return an array of -all-

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Charlie Griefer
name your elements with whatever name you want. can be selected via: $('#xyz') $('.blah') (this will return an array of -all- elements of class "blah") $('form') (this will return an array of -all- form elements on the pag) $('form[name=gustavo]') $('form[id=xyz]') $('form[class=blah]') $('form

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Lord Gustavo Miguel Angel
then... what alternative have? thank´s From: Charlie Griefer Sent: Monday, November 09, 2009 7:18 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] jquery form and "myfom" On Mon, Nov 9, 2009 at 2:16 PM, Lord Gustavo Miguel Angel wrote: hi, jquery form only work if name of form i

Re: [jQuery] jquery form and "myfom"

2009-11-09 Thread Charlie Griefer
On Mon, Nov 9, 2009 at 2:16 PM, Lord Gustavo Miguel Angel < goosfanc...@gmail.com> wrote: > hi, > jquery form only work if name of form is "myform"? is correct afirmation? > there are no such restrictions/limitations. Any page element can have any valid name value (any valid value for any attrib

[jQuery] jquery form and "myfom"

2009-11-09 Thread Lord Gustavo Miguel Angel
hi, jquery form only work if name of form is "myform"? is correct afirmation? thank´s

[jQuery] how to call a toggle on .blur

2009-11-09 Thread homien...@gmail.com
i have a search icon at the top of my page, when i click this it toggles show/hide on the search form. now when the user loses focus of the search form (.blur), i want it to activate the hide part of the toggle. when the search icon is clicked, it gives focus to the search form, so the moment the

[jQuery] Re: Superfish - overlapping Submenu possible?

2009-11-09 Thread papillon
Problem solved, see http://facility9.com/2008/07/17/ie7-dropdowns-and-z-index .sf-menu li:hover, .sf-menu li.sfHover{ z-index: 99; } instead of .sf-menu li:hover ul, .sf-menu li.sfHover ul{ z-index: 99; }

[jQuery] Re: Create PDF from js

2009-11-09 Thread Scott Sauyet
On Nov 9, 12:30 pm, "m.ugues" wrote: > The problem using server side option is that I have a web site with a > lot of pages. > For every page I need to generate a PDF; so I need to create a Java > class for every html page where I reproduce the html layout (since the > PDF must be the same as the

[jQuery] jqModal

2009-11-09 Thread bozlite
I've been looking everywhere for an answer to this - I think it might be too obvious and I'm missing something. I'm using jqModal to load (via Ajax) a page of academic references - but I can't get the @href to pick up on the full url of the trigger - ie, it's ignoring everything from # onwards and

[jQuery] Re: (validate) Customising bassistance validation plugin

2009-11-09 Thread Iwan Vosloo
Of course, its a jquery expression, what else... However, I do think the docs may be wrong: at http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-expression In the arguments section it reads: "An expression (String) is evaluated in the context of the element's form, making the

Re: [jQuery] Ajax and removeClass

2009-11-09 Thread Michel Belleville
I'm guessing you're giving behaviour to your links like this : $('#any .old_path a').click(...); So, you're giving it to any link that are present in the dom at the place you want when you're executing the former code. Then you're adding elements to the dom with an ajax call. These elements haven

Re: [jQuery] jQuery only works in offline files?!

2009-11-09 Thread Michel Belleville
If I were you I would still check the files are accessible through the url you provided in your html hooks (Firebug should help you check that), and if not I would check the permissions are set right and the files at their proper place. Also don't forget if you're using url rewriting, local paths #

[jQuery] Validation Remote Question

2009-11-09 Thread Dave Maharaj :: WidePixels.com
Can you set required as remote? For example I have a year field where the server validates the rules, 4 numeric characters, required. But rather then having to put the rules for every field in the js required: true, number: true, maxlength 4, minlength:4 that are duplicates the the server valid

Re: [jQuery] Ajax and removeClass

2009-11-09 Thread cavanshir aliyev
Nobody knows how to solve this issue? maybe this is the wrong mailing list? On Sun, Nov 8, 2009 at 8:28 PM, cavanshir wrote: > Hello, > > I have page with buttons and links. I wrote a jQuery code that adds > new css classes to images under clicked links. Also I have an Ajax > request, which repl

Re: [jQuery] jQuery only works in offline files?!

2009-11-09 Thread wesley.bunton
Matt Quackenbush-2 wrote: > > I'm going to say that there is about a 99.99% chance that the paths to > your CSS and jQuery files are incorrect. > > That's the odd thing about this. I immediatly thought that as well, since the symptoms are a perfect fit. But I checked and double checked

RE: [jQuery] Re: Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
Right on. Thanks you. Dave -Original Message- From: MorningZ [mailto:morni...@gmail.com] Sent: November-09-09 2:25 PM To: jQuery (English) Subject: [jQuery] Re: Confirm Delete $("a.delete").live('click', function (){ var url_id = $(this).attr("href"); var div_id = url_id.split('/')

[jQuery] Re: Confirm Delete

2009-11-09 Thread MorningZ
$("a.delete").live('click', function (){ var url_id = $(this).attr("href"); var div_id = url_id.split('/'); var set_id = 'set_'+div_id[div_id.length-1]; $('#'+set_id).addClass('pre_delete'); if (confirm('Delete?')) { $.ajax({ type: "POST", url: url_id, success: function(){ $('#

[jQuery] Re: Paging

2009-11-09 Thread Bohdan Ganicky
Hi Raju, you can start by reading this: http://www.packtpub.com/article/jquery-table-manipulation-part1 Have fun! -- Bohdan On Nov 9, 6:06 pm, Raju wrote: > Hi All, > > Im new to Jquery, I want to do table paging, Can some body help me to do > this > > Warm Regards, > > Mari Raj K, > Bangalor

RE: [jQuery] Re: Create PDF from js

2009-11-09 Thread Jeffrey Kretz
Can you do something like this: 1. General Java class that accepts a URL and converts it into a PDF. 2. Link on all pages that will fire the Java program passing its own url as a parameter. 3. Java program reads the contents of the url as HTML, parses it as PDF. 4. Outputs PDF stream back to brows

[jQuery] Re: Superfish CSS questio

2009-11-09 Thread luciano991
Thanks. That takes care of the problem. All the best, luciano On Nov 8, 5:39 am, gfranklin wrote: > Luciano, > > http://apc.mcswebhost.com/about-us/history > Your "About" button is assigned the class .active. > > It looks to me like .active has assigned #ccc background color. Just > change .act

Re: [jQuery] Re: Create PDF from js

2009-11-09 Thread Logan Bailey
Why do you have to create the page. People can just click print, and then save as pdf? On Nov 9, 2009, at 9:30 AM, m.ugues wrote: The problem using server side option is that I have a web site with a lot of pages. For every page I need to generate a PDF; so I need to create a Java class for

Re: [jQuery] Re: Iterating over a list

2009-11-09 Thread Michel Belleville
Your second example was closer, considering you triggered the text change in a callback, but you still triggered the animations all at once which I think wasn't the effect you desired. So how does the example I've given you work ? Let's comment : var recursive_anim = function(list, step, target,

[jQuery] Re: Create PDF from js

2009-11-09 Thread m.ugues
The problem using server side option is that I have a web site with a lot of pages. For every page I need to generate a PDF; so I need to create a Java class for every html page where I reproduce the html layout (since the PDF must be the same as the html shown on the screen). Another problem is t

RE: [jQuery] Re: Create PDF from js

2009-11-09 Thread Jeffrey Kretz
The jsPDF project, while interesting, has a long way to go. Their demo page at http://jspdf.googlecode.com/svn/trunk/examples/basic.htm Worked fine in Safari for iPhone and Safari for Windows, but broke in Chrome and Firefox 3. And no IE support at this time. Seems a bit tricky to use a produc

RE: [jQuery] Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
My bad. Here is what I have so far. $("a.delete").live('click', function (){ var url_id = $(this).attr("href"); var div_id = url_id.split('/'); var set_id = 'set_'+div_id[div_id.length-1]; $('#'+set_id).addClass('pre_delete'); $.ajax({ type: "POST", url: url_id,

[jQuery] Re: Paging

2009-11-09 Thread Raju
Hi All, Im new to Jquery, I want to do table paging, Can some body help me to do this Warm Regards, Mari Raj K, Bangalore +91 9740765135

Re: [jQuery] Confirm Delete

2009-11-09 Thread Charlie Griefer
On Mon, Nov 9, 2009 at 8:58 AM, Dave Maharaj :: WidePixels.com < d...@widepixels.com> wrote: > I am attempting to add a class to a div before deleting it. I just cant > get the class to remove if the user selects no. > > Anyone have tips or a link with suggestions? I found the jquery.confirm.js

[jQuery] Confirm Delete

2009-11-09 Thread Dave Maharaj :: WidePixels.com
I am attempting to add a class to a div before deleting it. I just cant get the class to remove if the user selects no. Anyone have tips or a link with suggestions? I found the jquery.confirm.js script but unable to add a class to the element being deleted before confirm Thanks Dave

[jQuery] Re: Create PDF from js

2009-11-09 Thread m.ugues
I prefer to make the job client-side if is possible. My idea is to intercept the window.print command (where the layout is correct through the css print) and not to send it to the printer but to send it in some way to the constructor of this library http://code.google.com/p/jspdf/ Am I completely

[jQuery] Re: Iterating over a list

2009-11-09 Thread gthorne
Is that close to what I was doing on the second example, where I was calling $().text in the callback portion of fadeIn()? On Nov 9, 12:38 am, Michel Belleville wrote: > To use callbacks that are triggered actually when the animation finishes > instead of calling the animations all at once and se

[jQuery] Thanks for a wonderful library

2009-11-09 Thread Scott Sauyet
I just want to say thanks to the jQuery team for an excellent tool! And I want to add a shout-out to Remy Sharp for a technique that made it possible. My latest project involves little front-end work, and I haven't been using jQuery much, but I recently had a little itch to scratch, and jQuery mad

[jQuery] resize.simplemodal

2009-11-09 Thread Milos Negovanovic
Hi, I have been searching for a way to resize simplemodal dialog after showing it. In plugin source i can see that a function 'resize.simplemodal' is bound to window on initialization. Ive tried to call this function directly with no luck. Is there a way to have simplemodal recalculate its size af

[jQuery] Need Sample Code for Menu-Driven Web Application

2009-11-09 Thread joeweder
I am ramping up on jQuery and CSS, AJAX, etc. I am looking for sample code that would demonstrate "best practices" for a menu driven web application. I am really interested in the use of AJAX since our application displays a lot of dynamic content (status monitoring, events, etc). Does anyone ha

Re: [jQuery] Re: show/hide ui.tab?

2009-11-09 Thread Shawn
Thanks. Your message got me looking in the right direction. Turns out my selector was wrong. Needed "#jobtype", not "div.jobtype". Once I changed that everything worked as expected. Shawn MorningZ wrote: Show/Hide works perfectly fine in this quick example http://jsbin.com/oyagi/edit re

[jQuery] Re: show/hide ui.tab?

2009-11-09 Thread MorningZ
Show/Hide works perfectly fine in this quick example http://jsbin.com/oyagi/edit recall that the "tabs" are actually items that reference the tabs, which are 's to hide the tab itself, you need to hide the On Nov 9, 10:23 am, Shawn wrote: > I have a series of tabs using UI.  I need to hi

[jQuery] jQuery helper function access

2009-11-09 Thread Alex
Hi, there are a couple functions declared in jQuery such as genFx and num, that would be useful in other aspects of jQuery development, and other js activities. They are not attatched to the jQery ovbject. Is there any way currently to access them (me thinks not?), and could they be instead declare

[jQuery] show/hide ui.tab?

2009-11-09 Thread Shawn
I have a series of tabs using UI. I need to hide some tabs depending on the selection in the first tab. Doing $("#tab3").hide(); doesn't work. This is what I have thus far: $("#div.jobtype input[name='jobtype']").click( function () { $("#tabLocations").hide(); $("#tabSegme

Re: [jQuery] help with milkbox conflict

2009-11-09 Thread Richard D. Worth
See http://docs.jquery.com/Using_jQuery_with_Other_Libraries and http://docs.jquery.com/Core/jQuery.noConflict - Richard On Mon, Nov 9, 2009 at 8:02 AM, jessicaw1974 wrote: > Hi, I am new

[jQuery] help with milkbox conflict

2009-11-09 Thread jessicaw1974
Hi, I am new to this and attempting to use milkbox. It looks like jquery-1.3.2.min.js is preventing milkbox from working. I wonder if there is an obvious conflict (already documented), or if this requires more exploration. I am pasting code below. Thank you. Jessica @import url(css/milkbox/mil

[jQuery] Re: (validate) Customising bassistance validation plugin

2009-11-09 Thread Iwan Vosloo
Ah, I got it working... The value of the "required" attribute should be a dependency-expression (http://docs.jquery.com/Plugins/Validation/ Methods/required#dependency-expression ) So, required="true" does not work. I'm still trying to figure out what else can be in there / what exactly a depen

[jQuery] (validate) remote option problem.

2009-11-09 Thread adwen
Hi, I have this horrible problem that i've spent like 2 days looking for a easy solution but to no avail. I've been using the jQuery validation plugin to do the validation for me and it has working great so far. I've added the remote option and it communicates perfectly with the server and sends t

Re: [jQuery] Calling function in jQuery

2009-11-09 Thread Dhruva Sagar
The function by itself will not be available within other blocks, since the function is in local scope. You should attach the function to the jQuery object instead for later use using the following syntax : (function($) { $.function_name = function test() { alert('in function'); } })(jQue

[jQuery] Calling function in jQuery

2009-11-09 Thread Murali Krishna B
Hi all, I am creating a function using jQuery in application.js file. (function($) { function test() { alert('in function'); } })(jQuery); When I am trying to call this function from outside (not in this jQuery block), I am getting an error saying that function is not defined. I am incl

[jQuery] Dynamic URL call i JQuery Cascade

2009-11-09 Thread JustSurfin
HI, I have been succesfully using Cascade for some time now but I have hit a wall. I have over 20,000 lines of data and consequently the server load and subsequent delay for the user is making the cascade feature very poor. I currently generate the list via php which works well for me. What I wo

[jQuery] Content within Floating Window using jQuery SimpleModal plugin cannot be replaced in IE8

2009-11-09 Thread Roger
Hi all I have already posted on stackoverflow about this issue. Here a short description: A Javascript function gets called from within a SimpleModal window. In this function some content found in this modal window is replaced - e.g. $('#DivTest').html('ChangedValue'). In IE8, if the SimpleModal

Re: [jQuery] Create PDF from js

2009-11-09 Thread Jonathan Vanherpe (T & T NV)
I'd look into something server-side if I was you: http://code.google.com/p/wkhtmltopdf/ is a good option, if you have a way of running custom binaries on your server. Jonathan m.ugues wrote: Hallo all. I found this library (http://code.google.com/p/jspdf/) as someone suggested to create custo

[jQuery] Re: Strange behaviour of BlockUI

2009-11-09 Thread Trejder
In addition to above, some observations. 1. I changed: $.blockUI ({ message: $('#inner-holder-error'), css: { top: ($(window).height() - 500) /2 + 'px', left: ($(window).width() - 500) /2 + 'px', width: '500px',

[jQuery] Re: (validate) Customising bassistance validation plugin

2009-11-09 Thread Iwan Vosloo
Hi Jörn, On Nov 7, 3:28 pm, Jörn Zaefferer wrote: > The plugin by default picks up attributes, so if you're using attribute > names that match validation plugin methods, it should work like that. Though > you may need to also provide a value, ala required="true", not sure about > that. This work

[jQuery] Create PDF from js

2009-11-09 Thread m.ugues
Hallo all. I found this library (http://code.google.com/p/jspdf/) as someone suggested to create custom PDF files from javascript. What I need now is a more difficult task. I need to create a PDF file using the css media="print". So I would like to generate a PDF file equal to what is sent to the

[jQuery] Re: document.body is null on, Google Web optimiser redirects.

2009-11-09 Thread paulroon
FYI anyone with this same issue.. Not really a JQuery issue. GWO control scripts need to be loaded before jQuery. it is a race condition. jQuery is still loading whilst the redirect is in operation.. hence no body in the DOM. On 6 Nov, 16:57, paulroon wrote: > Hey all, > > Head scratching here,

Re: [jQuery] getting height of *remaining* divs in a container

2009-11-09 Thread Michel Belleville
Isn't there a bit of JavaScript missing in this question ? Anyway, if I've got your problem right and if I were you at this point, I'd rather use the position method of the element you want to scroll down to instead of adding heights which might be a lot trick

[jQuery] getting height of *remaining* divs in a container

2009-11-09 Thread Dylan
I have the structure shown at the bottom of this post. The scenario is that relative to an event on the page the scrollTo is used to set the #top to the necessary cc_ DIV. The problem is that the container in which all cc_'s are placed is 202px in height (can change). When the scrollTo is instruct

[jQuery] Re: (validate) preclude, deny, disallow or prohibit URLs from submitting

2009-11-09 Thread gdekadt
Thank you so much for the answer - and sorry for not picking up on it sooner! (I expected to get anemail notifcation!) I've had a go at implementing this new method but it's not working for me. I've added your code into my validate call but it's not doing anything there. santiagorestaurant.es/con

[jQuery] Re: Strange behaviour of BlockUI

2009-11-09 Thread Trejder
Mike, The problem is partially solved. > Can you post a link to this page? No, I can't - since it is a project all the time being developed on localhost. > Is inner-holder-error the outer > most element used for blocking?  For example, does your block call > look like this: > > $.blockUI({ >  

[jQuery] SEO - jquery not loaded for second time

2009-11-09 Thread aze
Hi, I hope this is the right group I am posting to. I'm trying using htaccess for SEO friendly. The htaccess sample is below Options -MultiViews RewriteEngine on RewriteBase / RewriteRule .* - [env=REWRITE_ON:1] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FI

[jQuery] Re: (validate plugin) dependency callback not being triggered

2009-11-09 Thread Brad Hile
Thanks Jules I'll give it a try now. I was looking for something that would trigger the validation but I thought it was automagically triggered onblur/keyup but perhaps thats only after the initially validate via submit * thanks for the typo spotting!.. totally missed that ta Brad On Nov 6, 11:1

[jQuery] JQuery error load data in dialog

2009-11-09 Thread dEwA nich
dear friends, I have one input field, when I write some letter and press enter then ajax request will happen. Return value from ajax I append to one tag div. Then I load data into dialog. I can do that, but the problem is It just happens one time and the problem when data successfully load, the cl

Re: [jQuery] Re: How to avoid page refresh with jquery in typo3 ?

2009-11-09 Thread Jonathan Vanherpe (T & T NV)
chris wrote: On Nov 6, 5:25 pm, "Jonathan Vanherpe (T& T NV)" wrote: I guess you'll just need to add this: $('div#menu').load($(this).attr('href')+' div#menu'); But I should warn you, this is far from efficient, as you're making 2 requests for the same page this way, instead of the one request