[jQuery] Re: is there any concept called 'controller' in jQuery for debugging?

2009-05-11 Thread waseem sabjee
Hi, I'm not too familiar with JQuery console logging but i think this is what you are looking for. http://ajaxian.com/archives/jquery-logging On Tue, May 12, 2009 at 4:42 AM, chris wrote: > > Hi all, > > description of my problem : > I have to maintain a big application, which is not build by m

[jQuery] is there any concept called 'controller' in jQuery for debugging?

2009-05-11 Thread chris
Hi all, description of my problem : I have to maintain a big application, which is not build by me, and this application has so many javascript files and all scripts using jQuery. My difficulty is, I don't know how to identify, which javascript function is called whenever an action / event is fir

[jQuery] Re: Refresh Element After Changing Style

2009-05-11 Thread PF
I am using the following code (basically, this is a shortened version)... // Pulling content from an array var background = someBackgroundChoices[1]; // Setting that as the background fade1.style.background = background. This is in a function that repeats several times. In the actual code, it

[jQuery] Re: How to select all text in a div except ul

2009-05-11 Thread nick
Awesome, thanks Karl. Exactly what I was going for. -Nick On May 5, 9:29 am, Karl Swedberg wrote: > Sorry, I must have misunderstood the context. I was responding to this: > > > Don't use .text(), you'll get an array-like object of text nodes > > It seemed like you were saying that .text() retur

[jQuery] Re: Refresh Element After Changing Style

2009-05-11 Thread Jonathan
How are you changing it's style? Are you updated it's classname or doing something else? Also a bit of example code that demonstrates your problem would help in debugging it. On May 11, 4:16 pm, PF wrote: > Hi everyone: > > I am attempting to change the style after the user has loaded the page >

[jQuery] Refresh Element After Changing Style

2009-05-11 Thread PF
Hi everyone: I am attempting to change the style after the user has loaded the page (every x number of seconds) but the element just doesn't seem to be refreshing. I have done all of the checking, and it seems like it is changing it but it isn't showing that on the page. Thanks for any help.

[jQuery] Re: How to parse?

2009-05-11 Thread cstolwor...@gmail.com
I have noticed the selectors you can use when making an ajax call. I want to do pretty much the same thing, but I don't want to make another call I just want to apply a selector to my existing data On May 11, 4:23 pm, "cstolwor...@gmail.com" wrote: > I have an ajax call that will be returning a

[jQuery] Re: efficient way to find a parent

2009-05-11 Thread jquerysk
Thanks

[jQuery] datepicker enable previous dates

2009-05-11 Thread jquerysk
By default the previous dates are disabled. How can i set it so that all the dates are available in the date picker.

[jQuery] How to parse?

2009-05-11 Thread cstolwor...@gmail.com
I have an ajax call that will be returning a large chunk of HTML. The thing is that this HTML needs to go to several different places on the page. I would rather not have to make several different requests for the data. Is it possible to take a large (bundled) HTML value, parse it into a tempor

[jQuery] jquery expressions after loading content via ajax

2009-05-11 Thread flopp
hi! i am kinda n00b on this.. but i have a website where i use jquery... i have a div container #contents i'm loading contents with an ajax call...and then put it in the div $.ajax({ type: "POST", url: link, timeout: 1, success: function(html) { $("#contents").html(ht

[jQuery] Re: How to implement autocomplete with cross domain json with custom parameter

2009-05-11 Thread Tom Worster
On 5/11/09 2:46 PM, "Dushyant Patel" wrote: > I tried and tired also, finding the way how can i implement > jQuery.Autocomplete plugin with cross domain json? > > Can any one help me? or provide me link for that instruction? not me. but this is worth reading: http://en.wikipedia.org/wiki/Same_

[jQuery] Re: regex backreference with text()?

2009-05-11 Thread Jeffrey Kretz
Untested, but you may need to use the non-greedy form of .* to make this work: /.*?(\d+).*/ JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ricardo Sent: Monday, May 11, 2009 1:09 PM To: jQuery (English) Subject: [jQuery] Re: rege

[jQuery] Re: regex backreference with text()?

2009-05-11 Thread Ricardo
On May 11, 2:23 pm, waseem sabjee wrote: > var t = $("#myid").text(); > $ ("#myid").text(t.replace(' left in stock',''); > t = $("#myid").text(); > if(t == "1") { > $ ("#myid").text(t.replace(t,'only '+t+' item remain');} else { > > $ ("#myid").text(t.replace(t,t+' items remaining'); > > } There

[jQuery] Re: jCarousel - set start variable based on class w/Dynamic data

2009-05-11 Thread uberschweiz
Hi there, I'm looking to do the same sort of thing I don't need the dynamic list functionality but the var with a custom startPlace is exactly what I'm looking for. I have the .active class in place, problem that I'm getting is that after the page reloads, the carousel isn't auto-scrolling

[jQuery] Re: How to remove a row knowing the value of a checkbox.

2009-05-11 Thread Paul Mills
Hi, Try this var xxx = 5; $('input:attr[value="'+xxx+'"]').parents('tr').remove(); Paul On May 11, 8:37 pm, Massimiliano Marini wrote: > Sorry, > > the right question is: > > How can I remove the entirely row containing the checkbox with the value for > example 5? > > The value is returned to

[jQuery] Re: How to remove a row knowing the value of a checkbox.

2009-05-11 Thread Massimiliano Marini
Sorry, the right question is: How can I remove the entirely row containing the checkbox with the value for example 5? The value is returned to me by a PHP script, and of course is always different. foo foo2 foo2

[jQuery] Re: jCarousel issues... need to auto-scroll after page refresh

2009-05-11 Thread uberschweiz
I'd appreciate a little help from anyone — especially Jan Sorgalla! Where are you Jan, holiday? ;) On May 4, 9:21 pm, uberschweiz wrote: > I have thejCarouselworking well. However the functionality I'm > looking for seems to be easy with the callbacks available -- I just > have no clue how

[jQuery] Re: How to remove a row knowing the value of a checkbox.

2009-05-11 Thread waseem sabjee
function removebox(value) { var obj = $(".mouseOver input"); for(var i = 0; i < obj.length; i++) { if(obj.eq(i).attr("value") == 5) { obj.eq(i).remove(); break; } } } On Mon, May 11, 2009 at 11:03 PM, m...@linuxtime.it wrote: > > Hi all, > > how do I remove a row of a table by knowing the valu

[jQuery] Suckerfish menu not showing up

2009-05-11 Thread cacaoananda
http://www.jingmasters.com/joomla - that is my site when i hover over the menu it seems to be blocked by the main content. please look at the site to see what i mean. thanks for your help. -brandon

[jQuery] SuckerFish menus "covered" by main content? please advise

2009-05-11 Thread cacaoananda
http://www.jingmasters.com/joomla/ - site i am working on my drop down menus do not show up. they seem to be trapped in the menu box. please look and see what i mean. i feel like this is a CSS issue. please advise. thanks

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2009-05-11 Thread Maksym Melnyk
Here's the solution from the Mike Alsup. "Hi Shane, There are two cleartype options in Cycle, and unfortunately one of them is not documented (yet). The general purpose of the cleartype logic in Cycle is to workaround a rendering issue in IE when cleartype is enabled on the system. When a Wind

[jQuery] How to implement autocomplete with cross domain json with custom parameter

2009-05-11 Thread Dushyant Patel
Hello, I tried and tired also, finding the way how can i implement jQuery.Autocomplete plugin with cross domain json? Can any one help me? or provide me link for that instruction? Thanks

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread waseem sabjee
actually it might work var obj = $("#mdiv select"); for(var i=0; i < obj.length; i++) { obj.eq(i) } // the above method will get alll tags within a tag and loop then if you want to loop the options within them you can either make obj to be $("#mydiv select option"); or you can run a lo

[jQuery] Re: problem validating form fields using jquery validator plugin

2009-05-11 Thread Mean Mike
does the page where it fails validate from 3ws validate ? it seems to me if the validation code works on a similar page then the problem is not with the validation code. Also does the error console give you any errors ? MM On May 11, 3:08 pm, Krish wrote: > Hey mike, > > Thanks for your quick r

[jQuery] IE7 problem with link and hover

2009-05-11 Thread alex.zeta
Hello to everybody, i have this page http://www.prismastand.it/prismanuovo/stand_personalizzati.php that, if viewed with ie7, doesn't display the selected "dot" link at the bottom if the page. Try to see it with ie7 and ff and you'll get what I mean. The dotted navigation tab is generated by jqu

[jQuery] Re: problem validating form fields using jquery validator plugin

2009-05-11 Thread Krish
Hey mike, Thanks for your quick response. but still its not working for me... i tried the same code in a another similar form. its working well there. but when i execute the same code in this page, its not executing. any idea to resolve this would help me a lot... Thanks, Krish On May 11, 11

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread Daniel Queiroz
But the tablesorter don´t need the to work? Look my code:

[jQuery] How to remove a row knowing the value of a checkbox.

2009-05-11 Thread m...@linuxtime.it
Hi all, how do I remove a row of a table by knowing the value (returned by a PHP script) of the checkbox which is inside a cell? Example, the value is 5. How can I remove the line containing the checkbox with the value 5? foo foo2 < foo2

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread aquaone
... no. is the same level as and . it does not belong inside the . it should be a child of the . stephen On Mon, May 11, 2009 at 11:52, Daniel Queiroz wrote: > I tried to do this > > Put all rows inside the but in this case the > tablesorter don´t work more and crash the javascript.. > > :

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread Daniel Queiroz
I tried to do this Put all rows inside the but in this case the tablesorter don´t work more and crash the javascript.. :S On Mon, May 11, 2009 at 3:29 PM, aquaone wrote: > What is meant by this? I'm assuming that a sort is being performed that is > forcing that row to move based on the conten

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread Loony2nz
@Mike: Yeah that won't work. Most of the values aren't unique. On May 11, 11:43 am, Mean Mike wrote: > wouldn't it make more sense to just have one drop down menu with all > school choices in it ? as long as all the schools differ in value I > pretty sure that would make your life easier > >

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread Mean Mike
wouldn't it make more sense to just have one drop down menu with all school choices in it ? as long as all the schools differ in value I pretty sure that would make your life easier On May 11, 1:41 pm, Loony2nz wrote: > I had a better thought. > > How do I get the count of options within a div?

[jQuery] Re: sorting a table

2009-05-11 Thread aquaone
tablesorter does not support this. You will need to use a different plugin or change the structure of your table (e.g. move the edit functionality to another in the same ). On Fri, May 8, 2009 at 19:40, williamstam wrote: > > each "row"has a row beneath it with a "menu" part to edit / view the

[jQuery] Re: problem validating form fields using jquery validator plugin

2009-05-11 Thread Mean Mike
according to the documentation "messages" is a property of the rule not a method see http://docs.jquery.com/Plugins/Validation/rules I adjusted your code to reflect that see if that makes it any better mysite.validateFormFields = function() { alert('here'); // its hitting here // va

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread aquaone
What is meant by this? I'm assuming that a sort is being performed that is forcing that row to move based on the content of the . If you do not wish content at the "bottom" of your table to be sorted, why not place those rows in the instead of in the ? stephen On Sun, May 10, 2009 at 06:44, Dan

[jQuery] problem validating form fields using jquery validator plugin

2009-05-11 Thread Krish
Hey guys, I am validating my form fields using jquery validate plugin. but its not executing my methods. its hitting my validate() method but not actual validation code. I am pasting my code here for your reference. My javascript code: mysite.validateFormFields = function() { alert('

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread Loony2nz
I had a better thought. How do I get the count of options within a div? I can then loop thru the select options and see if any of them are value "0". Is this possible? On May 11, 10:09 am, waseem sabjee wrote: > i suggest for this line > Select something > you assign the value of "0" > > in

[jQuery] Re: regex backreference with text()?

2009-05-11 Thread jckos
That makes sense. Hadn't thought of that. Thanks. On May 11, 1:23 pm, waseem sabjee wrote: > var t = $("#myid").text(); > $ ("#myid").text(t.replace(' left in stock',''); > t = $("#myid").text(); > if(t == "1") { > $ ("#myid").text(t.replace(t,'only '+t+' item remain');} else { > > $ ("#myid").t

[jQuery] Re: regex backreference with text()?

2009-05-11 Thread waseem sabjee
var t = $("#myid").text(); $ ("#myid").text(t.replace(' left in stock',''); t = $("#myid").text(); if(t == "1") { $ ("#myid").text(t.replace(t,'only '+t+' item remain'); } else { $ ("#myid").text(t.replace(t,t+' items remaining'); } On Mon, May 11, 2009 at 5:52 PM, jckos wrote: > > Hi, > > I'

[jQuery] Re: Help with div, css selector, and form field...

2009-05-11 Thread waseem sabjee
i suggest for this line Select something you assign the value of "0" in order to retrieve this value use the following js $(function() { $("select").click(function() { var value = $(this).val(); if(val != 0) { // do what you need to do } else { alert("you have not selected an option"); } });

[jQuery] Re: Menu slideUp is very erratic

2009-05-11 Thread waseem sabjee
Using firebug on mozilla firefox I have found the problem On hover the nested list css has the following property : height:0; in your menu's javascript file look for the following line .css({ height: '0px', display: 'block', overflow: 'hidden' }) change height:"0px" to height:"auto" or a desired

[jQuery] Help with div, css selector, and form field...

2009-05-11 Thread Loony2nz
I need some help with jquery's syntax for how to pop an error message when a select field is blank. There's a form that uses the same css class for all of it's form fields. However, I would like to check to see if at least one section of the form is not "blank". Here's my code:

[jQuery] regex backreference with text()?

2009-05-11 Thread jckos
Hi, I'm looking to change the text in an element, but I want to keep one of the values in the string the same. Basically I have an "in stock" number generated by the JSP that is dynamic but I want to change the message arounn the numberic value. For example, I'd like to change "1 left in stock

[jQuery] Menu slideUp is very erratic

2009-05-11 Thread Phil Sherry
Hi all, I've inherited some unfinished code for a menu system (previous developer left the company before he could finish it). The menu worked fine until the client wanted some nested lists, which is when the height was being set incorrectly. I had a fiddle and I can get the height to report corr

[jQuery] ui sortable serialize inputs of li

2009-05-11 Thread Mean Mike
Hello all and thanks for looking, I'm trying to use serialize option for ui sortable but each li has multiple inputs and I want to get the inputs back not just the record id example and what I want back is a two dimensional array so that the result of serialize looks like this ite

[jQuery] jQuery UI Problem

2009-05-11 Thread Rogue Lord
$('div.draggable').livequery(function(){ $(this).draggable({ helper: 'clone', opacity: '0.9' }); var bag_id = $(this).attr('id'); $('div.droppable').droppable({ accept: 'div.drag

[jQuery] Re: jqModal inserting links with live clicks doesn't work

2009-05-11 Thread Bradley
Ok I just fixed this with my own answer to someone else's question. Instead of adding the .click to the anchor, I instead added the trigger like this: $("#modal").jqmAddTrigger("a.jqModal") Worked like a charm On May 11, 11:30 am, Bradley wrote: > Can anyone help me with inserting newjqModall

[jQuery] Re: find multiple values

2009-05-11 Thread Bradley
var found = $(items).find("[name='ben'], [name='joe']"); Just like css selectors, you can use a comma to denote multiple fields On May 11, 11:22 am, ace jquery wrote: > Hi there, > > Is there a way to find multiple values? > > This script checks *name = ben*, what about I want to check if *name

[jQuery] Re: jqModal inserting links with live clicks doesn't work

2009-05-11 Thread Bradley
Can anyone help me with inserting new jqModal links? On May 6, 3:06 pm, Bradley wrote: > I read a bit on the newjqModalversion that has live events on the > a.jqModal (Actually reading this didn't tell me whether live events > were enabled on .jqModalby default, or if you had to make the call >

[jQuery] find multiple values

2009-05-11 Thread ace jquery
Hi there, Is there a way to find multiple values? This script checks *name = ben*, what about I want to check if *name = ben* and *name = joe*? Is this possible? Thanks --- var items = [{id:1, name:'bob'}, {id:2, name:'joe'}, {id:3, name:'ben

[jQuery] Re: Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread ollosch
If you don't wanna use JQuery UI: I use a function to display divs as tooltips in a navigation bar on mouseover (it's actually mouseenter in this case), which could easily be changed to "on click". The function displays the divs under the corresponding nav element, and uses "offset" for the posit

[jQuery] jquery uploader

2009-05-11 Thread Vincent Majer
Hi, I'm trying to use this plugin : http://jquery.webunity.nl/jQuery.uploader/demo1 it's almost working.. BUT i have a problem with the backend.. I can't find any documentation about response codes.. I found a sample_backend but not very precise.. http://jQuery.webunity.nl/jQuery.uploader/js

[jQuery] Re: Hide function problem in IE8

2009-05-11 Thread Liam Byrne
The 2 options won't work as radio buttons then, though, will they ? waseem sabjee wrote: Hi Luigi. Change your HTML Structure to this name="personaFisica" value="0" /> name="personaGiuridica" value="1" />

[jQuery] Re: Change button text with ajax

2009-05-11 Thread Liam Byrne
AJAX would only be required of you wanted it to post to the server. The jQuery to do it would be $("#buttonName").val("New text for button"); Goldielocks wrote: Hi, I would like to change the text of an asp button from client-side code without posting back to the server. Is this possible to

[jQuery] Change button text with ajax

2009-05-11 Thread Goldielocks
Hi, I would like to change the text of an asp button from client-side code without posting back to the server. Is this possible to achieve with ajax? Can someone give me a code example please? Thanks! -- View this message in context: http://www.nabble.com/Change-button-text-with-ajax-tp23483

[jQuery] Re: Hide function problem in IE8

2009-05-11 Thread ciupaz
Perfect, thank you Waseem. Luigi

[jQuery] Re: jqmodal/canvas z-index issue in IE7

2009-05-11 Thread Geert Baven
Thanks mate! your first option already solves the problem.cheers Geert 2009/5/11 Tony > > Hello, > The well known issue with IE. > Also two options - > 1. Create the modal as first child of body or > 2 look here > > http://groups.google.com/group/jquery-en/browse_thread/thread/65b3b02d5943e84b/

[jQuery] Re: Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread ggerri
what you need is: http://jqueryui.com/demos/dialog/ Regards Gerald sandee...@adpsconsulting.com wrote: > > > I am having to display some popup divs (some divs which appear when > user clicks something) in my project. Now, I am facing numerous issues > relating to positioning of the divs, ma

[jQuery] Re: Confirm password equalTo function of Validate plugin are not working properly in Firefox3.0.10 and Firefox2.0

2009-05-11 Thread joshua
My CakePHP code to generate password field: The previous one: //code input('password', array('type'=>'password','label' => false )); ?> //end And now: //code input('ppassword', array('type'=>'password','label' => false )); ?> //end On Mon, May 11, 2009 at 8:45 PM, joshua wrote: > 1. > My html s

[jQuery] Re: Confirm password equalTo function of Validate plugin are not working properly in Firefox3.0.10 and Firefox2.0

2009-05-11 Thread joshua
1. My html source code: //code Password(*) Confirm Password(*) //end 2. And now I changed my source code to //code Password(*) Confirm

[jQuery] Re: Hide function problem in IE8

2009-05-11 Thread waseem sabjee
Hi Luigi. Change your HTML Structure to this change your JavaScript to this $(function() { // i prefer using the function wrapper instead of $(document).ready(function() { var choices = $(".option"); // create a

[jQuery] Re: Confirm password equalTo function of Validate plugin are not working properly in Firefox3.0.10 and Firefox2.0

2009-05-11 Thread Jörn Zaefferer
Looks like there is no element with the id "UserPassword". Jörn On Mon, May 11, 2009 at 1:51 PM, Joshua wrote: > > Is there any body known about this problem? > > My code: > //js code > “data[User][password]“: { > required: true, > minlength: 6, > maxlength: 15 > }, > “data[User][confirmPasswor

[jQuery] slideToggle problem in IE

2009-05-11 Thread Beyers
Hi everyone, Are there any known problems with slideToggle() and IE 7? The following code behaves strangely when run on IE 7, the input control that should receive focus dissappears for around 2secs after it gains focus. $("#myCheckbox").click(function() { $("#detailData").slideToggl

[jQuery] Re: qooxdoo with Jquery?

2009-05-11 Thread Shan
Hi Zweb, am new to jquery , do you have any examples so that I can have a look at please ? many thanks Shan. On 11 May, 02:50, zweb wrote: > Has anyone used Qooxdoo with jquery? > > I already use jquery has my core js library and I use some components > from Jquery UI. I want to continue doin

[jQuery] Confirm password equalTo function of Validate plugin are not working properly in Firefox3.0.10 and Firefox2.0

2009-05-11 Thread Joshua
Is there any body known about this problem? My code: //js code “data[User][password]“: { required: true, minlength: 6, maxlength: 15 }, “data[User][confirmPassword]“: { required: true, minlength: 6, maxlength: 15, equalTo: “#UserPassword” }, //code end The error happened at line 1040 of jquery.

[jQuery] Autofocus on a newly created item

2009-05-11 Thread Koala Yeung
I want to write a function that: (1) automatically create textfield within an HTML element (2) autofocus on the new created textfield The HTML looks like this: some content Here is my code. This can create the textfield. But it cannot autofocus on the textfield: function createAndFocus(item) {

[jQuery] IE7 not finding elements in appended html fragment

2009-05-11 Thread lphmedia
Hi, I have a function which inserts a html fragment containing a form into a page - however when I go to send that form I get an error from IE7 and in the example below if doesn't get the value of any of the inserted form fields - works fine in FF. Any thoughts? Thanks! Code below: $('.s2f').l

[jQuery] Re: jqmodal/canvas z-index issue in IE7

2009-05-11 Thread Tony
Hello, The well known issue with IE. Also two options - 1. Create the modal as first child of body or 2 look here http://groups.google.com/group/jquery-en/browse_thread/thread/65b3b02d5943e84b/230c06e1f70c68b4?lnk=gst&q=toTop#230c06e1f70c68b4 On May 11, 2:27 pm, Geert Baven wrote: > Hi group,I

[jQuery] jqmodal/canvas z-index issue in IE7

2009-05-11 Thread Geert Baven
Hi group,I am using JQmodal and the canvas-plugin in a new project. The combination works fine in Safari/Firefox but i have a z-index issue in IE7 whre modal is behind the canvas elements. You can see this in action in the navigation menu when clicking "peuterspeelzaal" on the demo at www.kitt

[jQuery] Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread sandee...@adpsconsulting.com
I am having to display some popup divs (some divs which appear when user clicks something) in my project. Now, I am facing numerous issues relating to positioning of the divs, making the div appear over everything etc. etc. in different browsers. This has become a serious problem. I badly need a

[jQuery] Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread sandee...@adpsconsulting.com
I am having to display some popup divs (some divs which appear when user clicks something) in my project. Now, I am facing numerous issues relating to positioning of the divs, making the div appear over everything etc. etc. in different browsers. This has become a serious problem. I badly need a

[jQuery] Mouse event problem

2009-05-11 Thread less than zero
Hi, I need to make one of those mouse scrolling galleries that lets you change the direction by where your cursor is positioned. However, I'm starting to suspect this won't be possible using javascript. I have the main functionality worked out(see code below), but the problem I'm coming up agai

[jQuery] Hide function problem in IE8

2009-05-11 Thread ciupaz
Hi all, I have this jQuery snippet to hide a "DIV" block when the user select one value of a radio button: