[jQuery] Cycle Font Size off one button

2009-10-30 Thread Jacques
I am using the following code to adjust the size of all P tags. This tag is design to work with three buttons a increase font button a decrease font button and a reset button I would like to modify this so it works with just one button I would like the first 4 clicks to run the increase font

Re: [jQuery] licensing question

2009-10-30 Thread Michael Geary
You're talking about this page, right? http://docs.jquery.com/License I rewrote it to be more clear and to reflect the actual intent of the license. See if your patent attorney finds it more palatable now... Thanks, -Mike On Thu, Oct 29, 2009 at 3:35 PM, David Robertson

[jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-10-30 Thread acetrader
Hi there, I am not a guru jquery coder and still have to learn alot, recently while learning jquery AJAX I have bumped into a weired issue, I have a apge right and in this page I have a dropdown list for people to select an RSS channel that they wish to know more about, the dropdownlist ahs an

Re: [jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-10-30 Thread Michel Belleville
May I suggest you actually use jQuery ? var ddlvalue = $('#ddlChannelSelect').val(); This should do the trick. Michel Belleville 2009/10/30 acetrader saliba...@gmail.com Hi there, I am not a guru jquery coder and still have to learn alot, recently while learning jquery AJAX I have

Re: [jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-10-30 Thread Michel Belleville
Another suggestion : code and debug your JavaScript so that it works on FireFox then and only then try to make it work in IE. You'll get less headaches that way, and you'll write neater JavaScript. Michel Belleville 2009/10/30 Michel Belleville michel.bellevi...@gmail.com May I suggest you

Re: [jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-10-30 Thread Jonathan Vanherpe (T T NV)
acetrader wrote: Hi there, The problem is that when I assign the dropdown value to a variable called dropdown in the following line of code var dropdown = document.getElementById('ddlChannelSelect'); it works in IE but not in the other browsers, I have debbugged this in FireBug and it seems

[jQuery] two questions

2009-10-30 Thread hno
HI i'm a new member of this group and I have two questions : i want a jquery code that when i click the button , it select the imgae obove the button and move it to another place and it show the image when it moving . is there any book or web site that shows the jquery examples . i've searched

Re: [jQuery] AJAX page working in IE6,7,8 but not in Firefox,Safari and Opera

2009-10-30 Thread Jonathan Vanherpe (T T NV)
Jonathan Vanherpe (T T NV) wrote: because that's not really an idea s/idea/id/ -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] How to popup dialog ?

2009-10-30 Thread DatacenterHellas
Hello all readers ! :) I need your help please. I try to create a currency converter by using ajax. In my page I have a list of items that each one has it's own price. Now I like when the mouse is over an image to be desplayed a list with all currencies and when the client will choose the one

[jQuery] problem in setting min max time

2009-10-30 Thread mith
i am having prblem with setting min and max time limits if my min limit is grater than max limit,limit is getting set,but when i try to change time,then i get my max time directly

[jQuery] IE7 Bug with Cache

2009-10-30 Thread Ricardo Fontão Verhaeg
Hi everyone, I just want to let you all know of something I've been trought with AJAX and M$ stupid IE7. I made a script that was getting some data from the database e perform some action to based on wich button you click. The data and action I was sending with GET, most because the action was

[jQuery] Finding row index of clicked table element; testing if element is parent of another element; is there a better way?

2009-10-30 Thread GK
My main requirement is: I want to put a click handler on a div containing a table that allows me to determine which row of the table has been clicked, using event delegation as the table may be updated dynamically, and could be quite large. With a secondary requirement arising: I want to

[jQuery] [with solution and fix proposal] sporadic error document.body is null at a valid HTML and JS page (also in firefox 3.5.4)

2009-10-30 Thread Beat
Hi John and jQuery team, Please read at least first and last paragraphs: the effect of this bug is a permanent page reload and strain on webservers: The effect of this error can be disastrous to web servers, as it can reload the page permanently, so as I spent a few hours on this issue, and want

[jQuery] How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread jmatthews
I am manipulating a style on elements with class=House or Senate. Unfortunately, it sets the style for every child underneath. The tree is like this: AL House of Representatives Member Member Member Senate Member Member Member House has class=House.

[jQuery] Using variable combination as selector

2009-10-30 Thread jmatthews
thisState=ALHouse; I want to select all elements of class=placemark and whose parent is thisState. Any suggestions? Thanks.

Re: [jQuery] two questions

2009-10-30 Thread waseem sabjee
try this have an html markup like this div class=wrap a href=# class=mybutton div class=imgwrap img src=my/image/path.jpg / /div /div here is the jQuery that i would use $(function() { var obj = $(.wrap); // we want the object to be our div wrapper var mybutton = $(.mybutton, obj); //

Re: [jQuery] two questions

2009-10-30 Thread waseem sabjee
this is one of my favorite jquery reference links http://docs.jquery.com/Events On Fri, Oct 30, 2009 at 2:30 PM, waseem sabjee waseemsab...@gmail.comwrote: try this have an html markup like this div class=wrap a href=# class=mybutton div class=imgwrap img src=my/image/path.jpg /

Re: [jQuery] How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread waseem sabjee
give the elements childrent a class called : nomralffont with the following css .normalfont { font-weight:normal!important; } this is just an example you may went to give them a different style but use the !important On Fri, Oct 30, 2009 at 12:31 PM, jmatthews jmatth...@xexam.net wrote: I

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
Bruce, Thanks for reporting the issue. I was able to reproduce the issue and will work on a fix. -Eruc On Oct 29, 10:51 pm, Bruce MacKay b.mac...@massey.ac.nz wrote: Hi folks, I've just updated a previously functioning piece of code that uses the simplemodal plugin - the code does an ajax

[jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread jmatthews
Thanks, I tried it. It turns out that !important gives precedence to a property that has been later trumped by a more proximate designation. In my app., .placemark will be a class of items below state with id=AL. I was able to control it in CSS to where ONLY the parent's attributes do not apply

[jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread jmatthews
Okay. The problem is now this: The children are wholly contained within individual divs encapsulated by parent, as follows: divstate divchild/div divchild2/div /div When I mouseover a child, it is thinking it is just the contents of parent. I need to restrict mouseover to children

Re: [jQuery] Re: Superfish plugin: some limitations that could be addressed

2009-10-30 Thread Charlie
showed you an example of a multi column div in a sub, had h tags, image, and assorted other markupdid you even look at it? Plugin code was untouched, any adjustemnts were done with css Florent V. wrote: The exact same markup in YUI example bellow works perfectly well...no

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
I fixed the issue and released 1.3.3[1]. I updated the demo downloads, but all you need to do is use the newest version of SimpleModal. -Eric [1] http://code.google.com/p/simplemodal/downloads/list On Oct 30, 6:20 am, Eric Martin emarti...@gmail.com wrote: Bruce, Thanks for reporting the

[jQuery] Re: IE7 Bug with Cache

2009-10-30 Thread Thiago Miranda de Oliveira
Did you tried sending a dummy timestamp to the server included on the url ? On Oct 30, 9:06 am, Ricardo Fontão Verhaeg rverh...@gmail.com wrote: Hi everyone, I just want to let you all know of something I've been trought with AJAX and M$ stupid IE7. I made a script that was getting some data

[jQuery] .click using if else not working...?

2009-10-30 Thread digitalbart
Hello, I am trying to build a menu close to a explorer or tree menu that uses ajax. I have been able to get it working some of the time. My problem is with the click function below. I originally used a toggle but since it is not bound to a live event because this is has ajax generated content it

[jQuery] Re: How to prevent default behavior in an event handler that returns a function

2009-10-30 Thread The alMIGHTY N
Hi risteli! The problem I'm having is not with the i iterator variable but with passing an event into the handling function. The code I used to handle the i iterator issue is essentially like a closure, I think. Instead of defining the function right in the event assignment, though, I define it

[jQuery] Chaining and each

2009-10-30 Thread noon
Kind of large to paste here. My script and resulting HTML can be found at: http://jquery.pastebin.com/m3f98dd99 If you look towards the bottom you will see the following: .parents('td.embedded td.latest') .each(function(i) { $(this) .append(new_table)

[jQuery] Re: (validate) validator is undefined error

2009-10-30 Thread Collectonian
Awesome! That worked! Thank you so much! ~~ Summer On Oct 29, 4:38 pm, Jules jwira...@gmail.com wrote: Sorry, didn't read the question thoroughly,                     whyvisitother: {                         required: function(element) {                             var result = false;    

[jQuery] restricting mouseover() to parent only

2009-10-30 Thread jmatthews
Interesting, and I can't imagine this hasn't been dealt with already! If you have nested divs, the mouseover on the outside div prohibits you from setting a different mouseover() on the inside div. Like this: div id=parentParent div class=childChild/div /div If you instruct

Re: [jQuery] Re: (validate) form field validation with field id doesn't work.

2009-10-30 Thread Don Dunbar
Hi, multiple fields should not have the same 'name' in a form. If you need first name for two parts of a form, then you should give a more explicit name to the input : ex. first name for shipping could be 'firstNameShip' and first name for billing could be 'firstNameBill' etc. The reason is

[jQuery] autocomplete

2009-10-30 Thread MC
I'm trying to use autocomplete on a dialog windows that has a editing form for the user to change data previously saved so every autocomplete input has data that can be change. The problem is when i do change a value and try to update an input with part of the data returned by the autocomplete

[jQuery] Re: How to prevent default behavior in an event handler that returns a function

2009-10-30 Thread risteli
Sure, that was just to show how to avoid passing i a parameter or returning a function (I put that as argument anyway, hence the confusion ... my fault, that's what you get when posting in a hurry). The function parameter you pass to .click is a event handler, so the first parameter of the called

Re: [jQuery] Re: (validate) form field validation with field id doesn't work.

2009-10-30 Thread monika budhiraja
Hi there , thanks for your reply. So, you mean we need to have a label tag? Can we skip that label tag. Also, I wanted to apply css changes based on the id. Let;s say If we have multiple checkboxes and use multiple selections, then we want to show some different css on selected once. Orafter

[jQuery] Re: restricting mouseover() to parent only

2009-10-30 Thread jmatthews
I found what looks like might be a solution, but I could sure use some help because I don't fully understand how to put it together with the right syntax in plain-old JQuery without any extension. Here's the thread describing the same problem and posting the solution:

[jQuery] Re: Using JQuery with WordPress

2009-10-30 Thread JT
You can place the code in the header.php file within the head section, but after the jquery.js file. However, if you only need this code on one page, you could just place it in that page within script tags. As long as you are using $(document).ready(function(), it doesn't matter where it is placed

[jQuery] Re: How to prevent default behavior in an event handler that returns a function

2009-10-30 Thread The alMIGHTY N
My apologies, Michael. For some reason, I wanted my example page to actually work. :-) The point at which I was trying to pass the event is at line 24 in the createPlayerLinkClickHandler call. In my equivalent code here at the office, I pass event (no quotes of course) as the first parameter and

[jQuery] input file type get name

2009-10-30 Thread Adonis
hi, I was wondering if anyone knows a way to get the file name(the one the user has just browsed and is about to upload using the form) from a form input. I tried $(#fileInput).val() but it does not work. cheers,

[jQuery] why jquery not wors together ?

2009-10-30 Thread yashmistrey
Hello to All I have used different JavaScript on my website but only one script is working. This is the link http://makemycreative.in/30oct_09 You will see these a button Name: Services = That is working But under “service button” there is another Javascript “Slidshow” Could you please look in

[jQuery] Cancel form submission by outside

2009-10-30 Thread gjha...@gmail.com
What I mean: everyone knows that to cancel a form submission it just have to put an return false in the submit function of the form. But I want a link in the page that executes a function that can stop a running-submission of a form. got it?

[jQuery] Re: Chaining and each

2009-10-30 Thread noon
nevermind. its because parents() runs for each TD (9) On Oct 30, 11:09 am, noon nun...@gmail.com wrote: Kind of large to paste here. My script and resulting HTML can be found at:http://jquery.pastebin.com/m3f98dd99 If you look towards the bottom you will see the following:

[jQuery] Hide a nested UL, but show children

2009-10-30 Thread hroyale
Hi, I have a set of nested ULs that is generated for me. I want to use it to create a drop-down navigation menu, however I don't want to use the values in the second level of ULs in the navigation. It looks something like this: ul class=topMenu lihome/li licommunity ul

[jQuery] keyup on textfields

2009-10-30 Thread onaiggac
Hi, Im new in jQuery, so... I need the textfields triggers the same function and I have a lot of them, Im doing this way: $('#id_emp').keyup(function(e) { if (e.keyCode == 13) { $('#busca').click(); } }); $('#id_bol').keyup(function(e) { if

[jQuery] Jquery Treeview JSON Issue

2009-10-30 Thread Sparky
Greetings: I am trying to get a proof of concept going for using Jquery Treeview Async to build a dynamic tree with JSP. I looked at the documentation on the Treeview website but I am unable to get this to work. My host page calls another jsp as follows: $(document).ready(function(){

[jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread Scott Sauyet
On Oct 30, 9:30 am, jmatthews jmatth...@xexam.net wrote: When I mouseover a child, it is thinking it is just the contents of parent.  I need to restrict mouseover to children only, regardless of the fact that they are encapsulated by parent. You might want to look at the mouseenter and

[jQuery] Re: keyup on textfields

2009-10-30 Thread James
There are a few simple ways to do this. Here are probably the most common: You can assign all the relevant textfields with the same class name: input type=text name=text1 class=specialFields / input type=text name=text2 class=specialFields / $(.specialFields).keyup(...); Or you can list all

[jQuery] Re: Cancel form submission by outside

2009-10-30 Thread James
I've never tried this before but did a search on it and found this thread: http://codingforums.com/showthread.php?t=85775 Specifically: window.document.execCommand('Stop'); and: window.stop(); Try it out and let us know if it works or not. :) Just curious, what are you using it for if

[jQuery] Re: input file type get name

2009-10-30 Thread James
The .val() should work. I've tried it and it works on FF3.5, IE6+, Safari and Chrome (all WinXP). The only differences I found is that FF, Safari, Chrome returns just the filename, whereas IE6+7 returns the full path of the user file (privacy issue), and IE8 uses 'C:\fakepath' as the directory

[jQuery] Re: Using variable combination as selector

2009-10-30 Thread James
Do you mean whose parent's ID is thisState? If so, you can do this: // store list of elements $list = $('#'+thisState).children('.placemark'); This will get the immediate children of the parent. Otherwise, if you want to get all decedents, use .find() instead of .children(). // act on the list.

[jQuery] Re: problem in setting min max time

2009-10-30 Thread James
I have no idea what you're trying to explain. Could you post some code or page demonstration what you want to do and what is happening? On Oct 29, 8:56 pm, mith mithilal...@gmail.com wrote: i am having prblem with setting min and max time limits if my min limit is grater than max limit,limit is

Re: [jQuery] Re: Cancel form submission by outside

2009-10-30 Thread gjha...@gmail.com
Oh yeah. I see. Like stopping the request. Is kinda like a big search. take too long to process the request. when the user click on the button to submit the search, I make appear another one to cancel the request. Thanks for help. It worked. On Fri, Oct 30, 2009 at 16:25, James

[jQuery] Conflict of jQuery tabs with prettyPopin

2009-10-30 Thread wogahnct
I have a simple HTML page that has 3 tabs on it using jQuery tabs and I'm trying to pop it open using prettyPopin. The page renders fine on its own, but will not display as tabs when it is called in a prettyPopin window. Has anyone seen this before? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[jQuery] Click not running on IE

2009-10-30 Thread ammaccabanane
Hi all. I'm searching for a solution to this problem: i've put a div (passed to the function with r) with inside three div with class pul. These has the function: function clic(r){ var blocco = r + div.pul; $(blocco).each(function (i) { $(#bloccofoto1).hide(); $(#bloccofoto2).hide();

[jQuery] Re: Cycle fxFn being reset

2009-10-30 Thread Jim McCollom
Mike, Thanks for pointing me in the right direction. I managed to get it working the way I wanted by doing the following: 1) Made a transition: $.fn.cycle.transitions.slideFade = function ($container, $slides, opts) { } 2) Made an 'fx plugin' function with the same name and made sure it

[jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread jmatthews
I tried them as the description in the reference was not clear as to why it would be useful. It doesn't solve the problem. That it does is make sure that if you reached the child by entering over the parent, the child event will be released only by exiting back over the parent. Kind of odd.

RE: [jQuery] Hide a nested UL, but show children

2009-10-30 Thread Smith, Allex
Not an solution, but a possibly suggestions would be: If at all possible, modify the existing html. If you absolutely cannot do that, at least you have structured content. You could always iterate over the content and build a new structure, taking out the parts you don't need or want.

[jQuery] Re: Simple problem

2009-10-30 Thread AlChuck
mkmanning and jules, thanks! Must have been end-of-the-day synapse shutdown...

[jQuery] Re: Simple problem

2009-10-30 Thread AlChuck
mkmanning and jules, thanks! Must have been end-of-the-day synapse shutdown...

[jQuery] Re: Click not running on IE

2009-10-30 Thread James
What value is in r? Does it have something like a # or . that makes it a valid selector? For example, in your code below: var blocco = r + div.pul; $(blocco).each(function (i) blocco may become 'testdiv.pul' $(blocco), will become $('testdiv.pul'), which does nothing because there's no element

[jQuery] Select the inverse of what you're looking for

2009-10-30 Thread Aaron Gusman
I have a table with 2 columns and four rows. I am currently able to highlight the row which contains a specific piece of text. But what I want to do is to highlight the rows that DO NOT have that piece of text. Here's the code: This line highlights the row that contains a cell with the text

[jQuery] Dynamic img not getting events

2009-10-30 Thread Jose Hidalgo
Hi all, I have a very simple html structure and the idea is to create and use DIVs or elements I do dynamically, so there is one div which I use to do something like: $(#main).html(div id='img-lisg'img id='img1' ./div); That works just fine, the problem is when I try to use events on the

[jQuery] Resending an XMLHttpRequest

2009-10-30 Thread Adam
I'm wondering if there is a good way to resend an ajax request if it has produced an error. The example below isn't something I would be doing obviously but should be enough to convey what I'm talking about. $().ajaxError(function(event, request, settings, error) { request.resend(); }); The

Re: [jQuery] Click not running on IE

2009-10-30 Thread ammaccabanane
Thanks for the response. In r there's a div, #bloccomenu, that has inside spans that have .pul for class. There's a space before div.pul, so the entire string is #bloccomenu div.pul. What i didn't said is that the first part runs also in IE, it's the second that doesn't run properly.

Re: [jQuery] Re: keyup on textfields

2009-10-30 Thread Denis Caggiano
Tks James, You help me to write a clean code.

[jQuery] Re: Cycle Font Size off one button

2009-10-30 Thread Dave Methvin
I would like the first 4 clicks to run the increase font size function then the 5th click to reset the font. jQuery 1.3 lets you specify multiple functions to .toggle(), you could take advantage of that. I haven't tested this code but maybe something like this? It looks like your original code

[jQuery] Re: Resending an XMLHttpRequest

2009-10-30 Thread Dave Methvin
I'm wondering if there is a good way to resend an ajax request if it has produced an error. Not that I know of, but it's an interesting question. The standard XMLHttpRequest object doesn't have a way to resend the request. The original $.ajax options are still around but they're not passed to

[jQuery] Simple question. my query isnt working

2009-10-30 Thread numerical25
I just started on a book and before I can get started I am already stuck. Here is what ive done 1. Ive added jquery to my server and I included it in my html. I check my source code in browser and it shows that it's there. I have version 1.3.2 2. I added this line of code script

Re: [jQuery] Two javascript not working together.

2009-10-30 Thread Charlie
order of scripts, jquery needs to load before plugins yashmistrey wrote: I have put two JavaScript, jquery on my website test page. both are working itself on each page but not working together why could anyone explain me, or could give me solution. See here

[jQuery] Re: Simple question. my query isnt working

2009-10-30 Thread mkmanning
Where are you including the scripts? If they're in the head, then you need to wrap your selector in a document.ready function, as the script is running before your div exists in the DOM. Try including your scripts just before the closing body tag. On Oct 30, 7:44 pm, numerical25

[jQuery] Re: Simple question. my query isnt working

2009-10-30 Thread James
You need the document ready code. http://docs.jquery.com/Tutorials:How_jQuery_Works#Launching_Code_on_Document_Ready Otherwise your Javascript just executes the code without the div tag being loaded at all, thus nothing happens.. On Oct 30, 4:44 pm, numerical25 numerica...@aol.com wrote: I just

Re: [jQuery] Simple question. my query isnt working

2009-10-30 Thread numerical25
Already I feel this book is doing me wrong. But it works now, thanx to you guys. Thanks!! James-279 wrote: You need the document ready code. http://docs.jquery.com/Tutorials:How_jQuery_Works#Launching_Code_on_Document_Ready Otherwise your Javascript just executes the code without the div

[jQuery] Re: Select the inverse of what you're looking for

2009-10-30 Thread mkmanning
Try this: $(tr:not(:contains(Brown))).css(background-color, Red); On Oct 30, 12:58 pm, Aaron Gusman ict.aarongus...@gmail.com wrote: I have a table with 2 columns and four rows.  I am currently able to highlight the row which contains a specific piece of text.  But what I want to do is to

[jQuery] Jquery Cookies Or Sessions

2009-10-30 Thread numerical25
I know I will more then likely have to download the plugin for cookies but I been doing research on how to listen for when the session expires but cant seem to find the issue. Ive seen some examples where they set how long the cookie will last until it expires. But I would like to fire an event