[jQuery] variable validation rules for the same input field depending on other fields

2009-05-31 Thread jonathan
I have the following html, field xxx requires a number from 0 to 100 when percentage is selected, and 0 to inifinity when dollar is selected. what's the best practice to setup validation for this? the key is to control the maximum value. I have tried depends expression in a max rule, but it

[jQuery] jquery.validate just checking the changed values

2009-05-31 Thread david
Dear all, I want to use the great jquery.validate plugin. I have just one question. There are fields which i have to check via ajax calls. I just want to check them if they were changed. I thought about one option that i bind the valid method to the onchange event. I would prefer to call the

[jQuery] Re: Tablesorter UI Theme Support

2009-05-31 Thread Nikola
Very nice. On May 29, 7:39 pm, Panman rpann...@gmail.com wrote: This is a double post, at least going to be a double post from in the jQuery Plugin list. I'm being moderated yet on that list, and it doesn't seem to get much activity.

[jQuery] popup form(please help me)

2009-05-31 Thread hamed7
i want create one form for add catagory to database with php and jquery. when i click on one link,ex:add new catagory, show this form and when user add new catagory, some select menu refrash and show new item,and in this form user can edit catagory title also. i am new in jquery,please send

[jQuery] Re: Re: Superfish

2009-05-31 Thread Charlie
menu css is not typically quick fix stuff, there are a lot of elements at play, so getting a quick fix solution in a forum isn't easy. The relative and Z-Index issues have nothing to do with your situation. The process will involve a restructuring of your css backgrounds Background of menu

[jQuery] Re: variable validation rules for the same input field depending on other fields

2009-05-31 Thread Jörn Zaefferer
In this case a custom method would give you the flexibility you need: http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Sun, May 31, 2009 at 9:33 AM, jonathan topcod...@gmail.com wrote: I have the following html, field xxx requires a number from 0 to 100 when percentage is

[jQuery] Re: jquery.validate just checking the changed values

2009-05-31 Thread Jörn Zaefferer
You can check fields via ajax using the remote method: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Sun, May 31, 2009 at 11:21 AM, david michaelg...@gmail.com wrote: Dear all, I want to use the great jquery.validate plugin. I have just one question. There are fields

[jQuery] missing equal between ns and uri

2009-05-31 Thread sglai
Hi, After I pass my xmlDocument to $.ajax{} with the processData:false option. The output has no = in between the namespace and uri. E.g. rootxmlns:abchttp://funny;bcabc/c/b With XMLSerializer, the xmlDocument is convert to xml string properly. Anyone got any ideas? Thanks, Sui-Sing

[jQuery] jquery json

2009-05-31 Thread Peter Marino
Hi jQuery, I've just found out the existence of json... and apparently there should be a jquery json script somewhere.. where? think it's called jquery.json.js I would like to download it from the site that created it. regards, Peter -- Power Tumbling - http://www.powertumbling.dk OSG-Help -

[jQuery] Re: jquery json

2009-05-31 Thread Chuck Harmston
jQuery actually has built-in methods for loading and parsing JSON. Check out the $.getJSON method, which is actually a wrapper for the $.ajax function with most parameters already handled for you. http://docs.jquery.com/Ajax/jQuery.getJSON http://docs.jquery.com/Ajax/jQuery.ajax Chuck Harmston

[jQuery] setting focus on input text field

2009-05-31 Thread saljamil
I am struggling with setting focus on an input text element. I have 2 input text elements as follows: fieldset id='rackScanEntry' RU:input type='text' size=2 id='ru' Barcode:input type='text' name=assetBarcode size=20 id='assetBarcode' /fieldset

[jQuery] [validate]

2009-05-31 Thread iprashant
hello all, i have been using the validation plugin a lot for my projects. I have a problem while validating the url. It seems like http:// is requires for the url but i don't think http:// is necessary... even if i use www.xyz.com it should be interpreted as valid url. any thoughts on that.

[jQuery] How to remove unneeded functions of jquery?

2009-05-31 Thread Jquery user
Hello Jquery members , I'm wondering how to remove unneeded functions out of jquery. This could strongly reduce the file size! Can somebody tell me more about it?

[jQuery] a jQuery solution for an MSIE problem?

2009-05-31 Thread planetv...@gmail.com
Hi everyone, I have been struggling with a MSIE related problem and I was wondering if using jQuery will help me find an asnwer. Basically, the code words wonderfully in all other browsers except MSIE. Basically, I want to render something like bars on a graph. Vertical bars. The bars are CSS

[jQuery] accessing dom from different domain ?

2009-05-31 Thread kaspar
Hello I'm trying to make Twitter OAuth and getting Permission denied to get property here is the code jq13(#open-oauth-button).click(function(event){ TwitterService.getAuthUrl(function(url){ var myRef = window.open(url,'mywin',

[jQuery] help with accordion with IE (strange flickering)

2009-05-31 Thread sadist
hi, i am developing a site, which i intend to use accordion at my frontpage. everything works good with all browsers except for in IE 6 or even 7, it is behaving a bit weird which I don't see that in the demo (http:// docs.jquery.com/UI/API/1.7/Accordion) here's the example that i'd uploaded

[jQuery] Posting form when pressing enter.

2009-05-31 Thread zayatzz
Hello $(function(){ $('input').keydown(function(e){ if (e.keyCode == 13) { $(this).parents('form').submit(); return false;

[jQuery] split jquery.format value with the validate plugin

2009-05-31 Thread talisien
Is it possible to split a jQeury.format value? javascript $().ready(function() { $(#check).validate({ rules: { email: { required: true, email: true,

[jQuery] How to delete unneeded function out of Jquery?

2009-05-31 Thread Jquery user
Hello , I'm wondering how to delete unneeded functions out of jquery. (this could strongly reduce the file size!) Can somebody tell me more? For exemple: I don't use the text( ) function and want to delete it.

[jQuery] Browser autocomplete posting forms.

2009-05-31 Thread zayatzz
Hello I kinda typed this text in already, but thread did not appear so im writing it again. Hopefully somebody clears up duplicate threads. $(function(){ $('input').keydown(function(e){ if (e.keyCode == 13) {

[jQuery] link selection and photo slider

2009-05-31 Thread millerf
Hi everyone, I am new to JQuery and I am trying to use it to develop a photo slider (using some jQuery plugins for it). So far, I am trying to change the class of some of my links in my page. Those links have images embedded and thos images have a src path starting with

[jQuery] Re: handle ajaxSubmit error as normal response instead of ajax response.

2009-05-31 Thread mar4eva mar4eva
hi !! yes :) :) just get prototype.js . don't upload it into ur html/php page == just link your jquery framework annd it's gonna b the magic of xhr so my solution is like this !! 1- Replace all the $ of jquery code with jQuery to get any conflict 2- and create a functio like send_my_form() {

[jQuery] What is this type of UI widget called?

2009-05-31 Thread Eric Carl
http://secretmountain.org/images/headline_widget.jpg You've seen them all over the place: Yahoo! Movies, CNet, Gamespot, etc. Usually they scroll through the items automatically like a slideshow, while a mouseover of one of the right-hand controls will pause the slideshow and reveal the selected

[jQuery] Advanced Syntax Questions

2009-05-31 Thread ProfCrazyHorse
I'm still trying to get the hang of the syntax. For example, if I want to select the first anchor tag on the page whose href begins with css, this doesn't work: (a[href^=css](a:first)) What's the right way to do this? Thanks!

[jQuery] jQuery Cycle Plugin: Implement Pager on existing navigation anchors

2009-05-31 Thread Paul Walsh
I have a problem with implementing the pager in the Cycle plugin. I have an existing navigational structure, which is actually a playlist - each link launches a new media file in an instance of flowplayer [http://www.flowplayer.org]. I want to use each of these anchors to, in addition, page

[jQuery] Re: $.post form don't post

2009-05-31 Thread mar4eva mar4eva
var value = $('#ListaCliente).val(); $.post(teste.php, { selectvalue: +value}); 2009/5/30, _zeh_ lcpgbra...@gmail.com: I have the following select: select name=ListaCliente id=ListaCliente title=$row_RSCliente ['CodCliente'] option value=4ABA/option option

[jQuery] Form Plugin

2009-05-31 Thread Robbie Clutton
Hey, I tried the form plugin, but I'm not getting the expected complete event. Below is the code snippet. It's worth noting that the data returned in JSON, not a HTML redirect. Any help would be appreciated. Using Firebug, I can see the 'dom is ready' log, but not the 'all done' log message.

[jQuery] Re: jQuery Cycle Plugin: Implement Pager on existing navigation anchors

2009-05-31 Thread Mike Alsup
I would like cycle to use my existing anchors These demos show how to use existing markup for the pager links: http://www.malsup.com/jquery/cycle/pager3.html http://www.malsup.com/jquery/cycle/pager4.html

[jQuery] Re: help with accordion with IE (strange flickering)

2009-05-31 Thread Charlie
markup isn't correct for accordion, also page doesn't validate on w3c validator. Fix the markup and should work fine sadist wrote: hi, i am developing a site, which i intend to use accordion at my frontpage. everything works good with all browsers except for in IE 6 or even 7, it is

[jQuery] Re: $.post form don't post

2009-05-31 Thread Angel
Sent from my iPhone On May 31, 2009, at 10:16 AM, mar4eva mar4eva mar4...@gmail.com wrote: var value = $('#ListaCliente).val(); $.post(teste.php, { selectvalue: +value}); 2009/5/30, _zeh_ lcpgbra...@gmail.com: I have the following select: select name=ListaCliente id=ListaCliente

[jQuery] [bug] jCarousel: breaks in rtl design

2009-05-31 Thread molexus
Hi, if the direction of the website is rtl (html dir=rtl aka arabic websites) the .jcarousel-list aligns different from the ltr design. Its right border will align with the right border of the container (.jcarousel-clip) so when i push the next button it will push the whole list further to the

[jQuery] Re: accessing dom from different domain ?

2009-05-31 Thread Ricardo
does the document in the other window also have a jq13 object? If not you have to use the one in your main window and pass the other window's document as context: jq13(myRef.document).ready(function(){ // grab the document in a jq object var self = this.parentWindow.jq13(this);

[jQuery] fancy box or css issue

2009-05-31 Thread alienfactory
i am using the fancy box light box plugin but cant figure out one small issue problem: the container div for fancy box scales up to defined size but the ajax loaded file inside the lightbox container does not scale I thought it might be a css issuse but nothing seems to work. Could anyone shed

[jQuery] fancy box or css issue

2009-05-31 Thread alienfactory
i am using the fancy box light box plugin but cant figure out one small issue problem: the container div for fancy box scales up to defined size but the ajax loaded file inside the lightbox container does not scale I thought it might be a css issuse but nothing seems to work. Could anyone shed

[jQuery] [autocomplete] matchContains in multiple words

2009-05-31 Thread Alec
http://docs.jquery.com/Plugins/Autocomplete Say I have the following entry in a data array: Quick brown fox Is it possible to return this entry when I search for e.g. qui fox? At this moment I can only get this result when searching for qui or fox, but not qui fox. I guess what I'm looking for

[jQuery] Getting previous AJAX submit response to current Submit button click.

2009-05-31 Thread SteveM
I have an advanced search page with two buttons. One button is a standard submit button. The other button is bound to JQuery. Clicking that button submits the form in the background, putting the search criteria in the HTTP session, and then performs some other AJAX work. It works correctly.

[jQuery] Re: a jQuery solution for an MSIE problem?

2009-05-31 Thread Charlie
not much to go on here. Google "IE problem" and there are a little more than a few issues show up pretty hard to troubleshoot a bunch of empty div's, an unknown image and a generic "problem", all packed into a 100px tall container . The underlying concept though sounds like jQuery would help

[jQuery] [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
Hi there. I'm not very good with Jquery and JS yet, so I'm having a bit of a problem trying to achieve this. What I need to do is explained here: http://ignacioricci.com/alphas/jquery-issue.gif And here is my actual code: http://ignacioricci.com/alphas/jquery-issue.html Is working in a way,

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread brian
Change this: $('.productAditionals input').parents().filter('.productInfo').siblings().filter('.productBuy').find('strong span').text(aditionalValue); to: $(this).parents().filter('.productInfo').siblings().filter('.productBuy').find('strong span').text(aditionalValue); Within the 'change'

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
Hi Brian. I didn't see that, your definetely right. I changed what you told me, and it appeared fixed initially. However when you check some checkboxes from one list, and then check others in the other list, the prize gets affected weirdly. Anyway we're closer to the solution. Thank you :)

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread Ignacio Ricci
Hi Brian. I didn't see that, your definetely right. I changed what you told me, and it appeared fixed initially. However when you check some checkboxes from one list, and then check others in the other list, the prize gets affected weirdly. Anyway we're closer to the solution. Thank you :)

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread brian
Good point. Try this to limit it to the proper set of inputs: $(this).parents().filter('.productInfo').find('input:checked').each(function() { aditionalValue += Math.ceil($(this).val()); }); On Sun, May 31, 2009 at 9:38 PM, Ignacio Ricci ignacio.ri...@gmail.com wrote: Hi Brian. I

[jQuery] Re: How to remove unneeded functions of jquery?

2009-05-31 Thread Karl Swedberg
You could check out a copy of the SVN version and build it yourself from its component parts: http://docs.jquery.com/Downloading_jQuery#Subversion_.28SVN.29 Once you've downloaded it, you'll see a src directory, which has the separate files that make up jQuery core: src/ ajax.js

[jQuery] Re: Advanced Syntax Questions

2009-05-31 Thread Karl Swedberg
this should do it: $('a[href^=css]:first') Don't forget to put quotes around the selector. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 31, 2009, at 1:55 AM, ProfCrazyHorse wrote: I'm still trying to get the hang of the syntax. For example, if

[jQuery] Re: help with accordion with IE (strange flickering)

2009-05-31 Thread sadist
another issue is, again with IE 6/7. at the same example page http://www.project.gp.sg/jquery, for the first loading of the page, you'll notice that the height of the accordion exceed the height that i had set. it is supposed to be somewhere above the the orange retangular height. only when you

[jQuery] The Assignment of the Return Value of a jQuery Method/Plug-in to a Reference Variable

2009-05-31 Thread kiusau
QUESTION: Please find below three blocks of code and try to answer the question in all-caps that precedes this code. CODE DESCRIPTION: The first block of code uses a jQuery method/plug- in called toDate( ) that I created. This code has been thoroughly tested in Firefox, Opera, and Safari. It

[jQuery] Re: accessing dom from different domain ?

2009-05-31 Thread kaspar
Ricardo , thank you for replay but I'm getting the same exception Permission denied to get property jq13(#open-oauth-button).click(function(event){ TwitterService.getAuthUrl(function(url){ var myRef = window.open(url,'mywin',