Re: [jQuery] Can I somehow see what events are binded to a DOM element?

2009-10-29 Thread Bi Jing
Using FireBug console: For example span class=signin onclick=test()/span Enter following script in command line under FireBug console Tab: alert($(.signin).get(0).onclick) HTH Becoder On Wed, Oct 28, 2009 at 7:45 PM, jayarjo jaya...@gmail.com wrote: I wonder if I can see somewhere what

[jQuery] Just discovered something

2009-10-29 Thread lionel28
I am sure most of you guys already know it, but I just found out that IE does not like the word do I was doing an ajax called and I had data: { do : uploadgame and I kept on getting that error expected identifier, string or number, Once I changed that 'do' into something

Re: [jQuery] Just discovered something

2009-10-29 Thread waseem sabjee
The most likely reason is that *do *is a JavaScript Key Word On Thu, Oct 29, 2009 at 12:53 PM, lionel28 lmarte...@haitiwebs.net wrote: I am sure most of you guys already know it, but I just found out that IE does not like the word do I was doing an ajax called and I had data: {

[jQuery] Re: Submitting after Validation

2009-10-29 Thread Dylan
Have a look at some of the ideas from this ... http://tutorialzine.com/2009/09/fancy-contact-form/ On Oct 27, 8:16 pm, StephenJacob turnstylecreat...@gmail.com wrote: Leonardo, I've been looking into the submitHandler option but i'm having problems getting it to work correctly. Here is a sample

Re: [jQuery] Re: Your Javascript/Jquery best pratices

2009-10-29 Thread noel guilbert
Hi Shawn, Thanks for your links and your advices. Actually, all the coding standards stuff is almost defined and used over our projects. But as I said, I'm looking for such common standards to organize the code, which will help a lot when collaborating. Here are my ideas: 1/ structure *

Re: [jQuery] Just discovered something

2009-10-29 Thread Nick Fitzsimons
2009/10/29 waseem sabjee waseemsab...@gmail.com: The most likely reason is that do is a JavaScript Key Word On Thu, Oct 29, 2009 at 12:53 PM, lionel28 lmarte...@haitiwebs.net wrote: I am sure most of you guys already know it, but I just found out that IE does not like the word do I was

[jQuery] Re: unblockUI() problems in IE

2009-10-29 Thread Ryan Shripat
Hi Eric - I was having the same issue as Matthew, but the extra line of code you've recommended solved it. Any ideas why it didn't work in the first place? Thanks, Ryan Shripat On Sep 14, 11:59 am, Eric Chan a...@cck.me wrote: Try the code as bellow: $.unblockUI(); $(.blockUI).fadeOut(slow);

[jQuery] Need help for a small little Menue System

2009-10-29 Thread codeworxx
Hello Guys, first of all i want to say a Hello to all of you! I'm new to jQuery and do my first steps. I have the following Menu in my HTML: -- code start -- div id=submenu ul li test.de Hauptmenü 1 /li li class=parent item18 http://www.mainteam.de/ Hauptmenü 2 ul

[jQuery] jquery cycle - link to certain images only

2009-10-29 Thread Johannes
Hi, I am using jquery cycle to make a book presentation. Right now there is click-advance and also buttons for next and previous images. But what I want is to also have buttons to go to certain pages only, e.g. first page, chapter 1, last page. What I've found so far is only the possibility to

[jQuery] j.readyState issue with specific set of users

2009-10-29 Thread Ashwin
Hi All, We are facing strange issue in our application. A group if users using IE6 are getting j.readyState error when they perform any operation. This is very strange as the application is working fine in IE7. 'J.readyState' is null or not an object Can someone please help on this? Regards,

[jQuery] Re: Just discovered something

2009-10-29 Thread dabear
Do is a reserved identifier. The same goes for while, if, etc. If you must use those keys, surround them in strings: data:{ do: se-min-kuk } On 29 Okt, 11:53, lionel28 lmarte...@haitiwebs.net wrote: I am sure most of you guys already know it, but I just found out that IE does not like the word

Re: [jQuery] Just discovered something

2009-10-29 Thread lionel28
Thanks for the tip, dabear. do is a very important variable for me as I develop in vbulletin. With their security token in order to bypass it, the action must be a do -- View this message in context: http://www.nabble.com/Just-discovered-something-tp26110812s27240p26112172.html Sent from the

[jQuery] jQuery beginner: How to stop creating/duplicating instance of same object?

2009-10-29 Thread Santosh
Hello there, I have a weird problem, in my current project am using jquery.uploadify to upload files onto server which use Scriptdata' to pass the additional information to script which is accessed by server for further process and its working perfectly fine. Problem am facing occurs under this

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-29 Thread Bjarki
Using firebug: you can write $('selector').data('events') in the console and run it. then you will get all the events bound to that object. you can click the events in firebug and go to there source to view them. On Oct 28, 11:45 am, jayarjo jaya...@gmail.com wrote: I wonder if I can see

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

2009-10-29 Thread Collectonian
Thanks, but that only seems to work if they only pick other. Since they can pick multiple checkboxes from that set, I need to see if they picked it among possibly multiple others. On Oct 28, 5:50 pm, Jules jwira...@gmail.com wrote: Use this rule.                 whyvisitother: {                

[jQuery] Superfish : active sublevel(ul) open on new load

2009-10-29 Thread jens
By the reload every new page all menus are closed . I would like the have this submenu open ul in which a menu is selecded. So that the user can see wish point (menu is seleced) . But i could not found infos about that . I use super-fish the first time so may i give i easy way . My idee is to

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-29 Thread Jacob
What I meant by remove the white space is that normally I like to indent all my code, so I'd have the td tag, then hit enter, then tab in to indent, then have the a tag, then potentially hit enter avian before putting in the text for the link, etc. What I found, though, was that if I put no spaces

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-29 Thread ChaosAD
I solved it with the following: var myTextExtraction = function(node) { // extract data from markup and return it if(node.childNodes[0].innerHTML) return node.childNodes [0].innerHTML; else return node.innerHTML; } $(document).ready(function() { // extend the default setting to

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-29 Thread KeeganWatkins
jayarjo, you might be interested in firequery, an experimental firebug extension that visualizes jQuery manipulations. http://firequery.binaryage.com/ On Oct 29, 7:54 am, Bjarki bjar...@gmail.com wrote: Using firebug: you can write $('selector').data('events') in the console and run it. then

[jQuery] Re: IE8 problems with fadein/fadeout

2009-10-29 Thread gemeaux
I have one solution for this kind of problems: Forcing IE8 to behave like IE7 by adding a meta line into the head section. Like this: meta http-equiv=X-UA-Compatible content=IE=7 / I guess IE8 have many issues related to javascript, so it would be the best solution for this. On 28 Ekim,

[jQuery] Preventing form submit

2009-10-29 Thread SamCKayak
I've added a jQuery .onClick to a form submit. Is there a way to prevent the form from submitting?

Re: [jQuery] Preventing form submit

2009-10-29 Thread Charlie Griefer
On Thu, Oct 29, 2009 at 9:21 AM, SamCKayak s...@elearningcorner.com wrote: I've added a jQuery .onClick to a form submit. Is there a way to prevent the form from submitting? return false in the click handler. $('#myFormSubmit').click(function() { do stuff; return false; });

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

2009-10-29 Thread The alMIGHTY N
Example page: http://jqueryfun.nathanielklee.com/eventFirefox.html Following one example provided in an official jQuery tutorial (located at http://docs.jquery.com/Tutorials:How_jQuery_Works), I can pass event into a function I define directly in the click assignment handler. e.g.

RE: [jQuery] Preventing form submit

2009-10-29 Thread Jeffrey Kretz
I agree, although I would add one thing to that. If you're going to PREVENT the form from submitting, bind to the form's submit event. If you're trying to SUBMIT the form, and which button you clicked is important (for example, firing a .NET server-side event), then bind to the click event

[jQuery] Re: IE8 problems with fadein/fadeout

2009-10-29 Thread risteli
I didn't know about this kludge, could be seriously useful ... thank you. IE will kill my health soon, I know - how development would be cheaper if I could avoid wrestling with ie6,7 and 8 bug generators ... Apparently, the problem is due to a nasty combination of div nesting and css, by changing

Re: [jQuery] Animation callback with parameters generated by a for loop

2009-10-29 Thread sround
Janko, Check out the EFFECTCHAIN plugin...it can help you with your issue. S. -- View this message in context: http://www.nabble.com/Animation-callback-with-parameters-generated-by-a-for-loop-tp25696617s27240p26117558.html Sent from the jQuery General Discussion mailing list archive at

[jQuery] Image not loading

2009-10-29 Thread rob
I have this set of code... $('#thumbnails').append(img src='gfx/liquidation/+id+/ thumbs/+photo+' class=\thumbnails\ onclick=\loadImage('+id+', '+photo+')\ /); This creates thumbnails on my webpage. In internet Explorer, they show up fine, but in Firefox they do not. I checked the image

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

2009-10-29 Thread risteli
Hello, this is one of the possible generic ways to do it using closures: for (var i=0;iwhatever;i++) { (function() { var my_i = i; $(#something).click(function(){ do_it(my_i)}); })(); } depending on

[jQuery] (Validator) form field validation with field id doesn't work.

2009-10-29 Thread Monika
Hi : I am trying to use jquery validatro plugin and used tried demo on the live site. Just looking if I can use this framework for UI validation or not. So, On demo, whene i tried replacing name with id, the validation doesn't work. Demo page : has 2 form.

[jQuery] Button click

2009-10-29 Thread gins
Hi all, I have written some code in jquery.i am using jquery 1.3.2.Using jquery,i am creating a new div in my form on a button click.At the same time i need to get the respective id of a item which has to be displayed.For that,i am using onclick function in the same button.I am getting the

[jQuery] jQuery and Ajax functions stop working when alternating tabs

2009-10-29 Thread Citizenstein
This issue is giving me a lot of trouble. Here's the scenario: I have a tab (using jQuery's Tabs) called Student Schedule and a tab called Administrator Schedule. Both tabs call the same calendar.php, and calendar.php includes some jQuery to get calendar days to alter their color and

[jQuery] Re: JQuery Won't Parse RSS?

2009-10-29 Thread Richard.Williams.20
You can also use this generic rss parsing script. # Script rss.txt var str source, list var str rss ; cat $source $rss set $wsep=, ; var int count ; set $count = { wen $list } while ( { sen -c -r ^item\/item\^ $rss } 0 ) do var str item ; stex -c -r ^item\/item\^ $rss $item var int

[jQuery] Ajax and DOM Nodes -- multiplying

2009-10-29 Thread TheStapler
I hope that I post this in the right spot. Ok... so I am using this program called 'Drip' to check why IE is crashing on my scripts after a few hours. I have a header panel, that refreshes every 20 seconds like this: headertimer = setInterval(messageLoad(), 2);

[jQuery] Using JQuery with WordPress

2009-10-29 Thread EastSideDev
I am new to both JQuery and Javascript. I write mostly in PHP. I have a wordpress installation, and would like to add a page with dynamic areas. If I hover the mouse over area1, the text in area2 will change and the image in area3 will change. Typically, this is the function I would write for

[jQuery] Two javascript not working together.

2009-10-29 Thread yashmistrey
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 http://makemycreative.in/project/index.html 1. One is A slideshow jquery 2 Anther is a Sliding tab effect got

[jQuery] Re: Animate forces display:block?

2009-10-29 Thread Justin Meyer
I am animating input elements and have the same problem. On Oct 21, 8:56 am, Karl Swedberg k...@englishrules.com wrote: Try setting the width of a non-floated element that has display:   inline with CSS and see what you get. I haven't been able to change   the width of a non-floated, inline

[jQuery] Re: blockUI and iframe

2009-10-29 Thread Mike Alsup
is it possible to have blockUI block the entire page, but call it from within an iframe on that page? I don't see any parameters to pass an element or document?  i know i can get access to the parent frame with jQuery ('body',parent.document), but wanted to use blockUI from within the

[jQuery] Re: jquery cycle - link to certain images only

2009-10-29 Thread Mike Alsup
I am using jquery cycle to make a book presentation. Right now there is click-advance and also buttons for next and previous images. But what I want is to also have buttons to go to certain pages only, e.g. first page, chapter 1, last page. What I've found so far is only the possibility to

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

2009-10-29 Thread Michael Geary
You mentioned not being able to pass the event object into your click function, but I don't see the code where you tried to do that, so I don't know what went wrong. In any case, the function-returning-a-function is much more complicated than you need. Risteli's code is on the right track, but it

Re: [jQuery] Re: Animate forces display:block?

2009-10-29 Thread waseem sabjee
why don't you put a div wrap around those input elements and animate their wraps ? On Thu, Oct 29, 2009 at 8:56 PM, Justin Meyer justinbme...@gmail.comwrote: I am animating input elements and have the same problem. On Oct 21, 8:56 am, Karl Swedberg k...@englishrules.com wrote: Try setting

[jQuery] (validate) is not a function error

2009-10-29 Thread Mike Disharoon
I'm trying to get the validate plugin to work on a page that is powered by an eCRM, so unfortunately I don't have any control over most of the code in the body of the page. That said, I think I've compensated accordingly by adding an ID to the form for use when I call the validate function and

[jQuery] tooltip

2009-10-29 Thread nickname
Hi, How to show the text in option title as tooltip. I tried several options but nothing is working. I am using jquery tooltip plugin. It works perfectly with select and other form tag elements. Any help is greatly appreciated. --thanks Example: select title=tooltip

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

2009-10-29 Thread Monika
Hi : I am trying to use jquery validatro plugin and used tried demo on the live site. Just looking if I can use this framework for UI validation or not. So, On demo, whene i tried replacing name with id, the validation doesn't work. Demo page : has 2 form.

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

2009-10-29 Thread James
If you change the name of your field, you'd have to change your rules in the validation options from firstname to firstname1 also. On Oct 29, 10:34 am, Monika monika.budhir...@gmail.com wrote: Hi :   I am trying to use jquery validatro plugin and used tried demo on the live site.  Just looking

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

2009-10-29 Thread Jules
Sorry, didn't read the question thoroughly, whyvisitother: { required: function(element) { var result = false; var chk = $([name=whyvisit]);

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

2009-10-29 Thread monika budhiraja
yeah . that's what I think would be some confusion coz it might be that multiple fields that have same name but Ids would be unique throughout page. So, I was really wondering, if there is any way to setup rules and validations based on ids and ignore names completely. On Thu, Oct 29, 2009 at

[jQuery] Re: IE7 bugs

2009-10-29 Thread jmunning
These two bugs were fixed by rolling back to the 1.1pre version which is linked to here http://groups.google.com/group/jquery-en/browse_thread/thread/e187837... I am still dealing with a couple IE issues: 1. In IE6 my autocomplete field will work for a few selections and then just stop sending

[jQuery] licensing question

2009-10-29 Thread David Robertson
I really like your software and software based on it, but I can't use it because of the language used in your licensing, according to our patent attorney. It reads under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly.

[jQuery] load() not loading

2009-10-29 Thread matee
I need to load a few lines of HTML to my page. I made a test receiver page. html head script type=text/javascript src=http://ajax.googleapis.com/ ajax/libs/jquery/1.3.2/jquery.min.js/script /head body script type=text/javascript $(document).ready(function(){

[jQuery] Re: Best Autocomplete Plugin

2009-10-29 Thread Renacor
Check out http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/, it is a pretty solid plugin, and easily extend-able. On Oct 21, 11:12 pm, Stefan Sturm stefan.s.st...@googlemail.com wrote: Hello, I badly need anAutocompletePlugin. So I would like to ask you, what is the best

[jQuery] Simple problem

2009-10-29 Thread AlChuck
Hello, I'm new to using jQuery. I was motivated by wanting to put some panels on an ASP.NET website which would display additional info if a link or button was clicked. I found a simple tutorial and mimicked that and it works fine, but uses the specific ID of the hyperlink to trigger the action.

[jQuery] Need help creating updated Onion Skin Dropshadow

2009-10-29 Thread brucend75
I am trying to update the onion skin dropshadow technique for the latest version of WordPress using jQuery to insert the necessary div's. This is my first foray into jQuery, and I think I've got the feel of it, but am unsure. I really would appreciate it if someone with more experience could take

[jQuery] Re: load() not loading

2009-10-29 Thread James
You can't access resources from other domains with AJAX. Cross-domain policies. The best way to do that is to create a proxy that your AJAX accesses to get that remote content. For example, your AJAX loads a PHP page on your domain that scrapes the remote page's HTML and return it back to your

[jQuery] jQuery minified

2009-10-29 Thread Mike
Hey guys, i've got two questions for you: 1. What/Where i cand find are the differences between the minified and complete jQuery version?? what kind of things i can't use with minified version?? 2. the first question was because i'm developping a big web site, we want it to be visited for many

[jQuery] Re: jQuery minified

2009-10-29 Thread James
The minified version is the exact same as the complete. It's just that a lot of the unnecessary things in the code has been removed (e.g. line breaks, spaces, shorten variable names, etc.) that massively reduces the size of the file but achieve the exact same functionality. If you look at the

[jQuery] Re: Simple problem

2009-10-29 Thread mkmanning
var panelID = panel_ + $(input).val(); You're problem is the selector; look at it for a second to see why it won't work (think about what exactly it's selecting). If you want the value of the button that was clicked, just reference it with 'this', as in var panelID = panel_ + this.value; or

[jQuery] Re: Simple problem

2009-10-29 Thread Jules
Modify this line of code var panelID = panel_ + $(input).val(); to var panelID = panel_ + $(this).val(); On Oct 30, 9:56 am, AlChuck alan.oeh...@alanoehler.com wrote: Hello, I'm new to using jQuery. I was motivated by wanting to put some panels on an

Re: [jQuery] Re: Simple problem

2009-10-29 Thread Mike Grimes
unsubscribe

[jQuery] Named Anchor Index from Headings

2009-10-29 Thread Wacko Jacko
Hi! Would like to automatically generate an 'Anchor' index at the top of the page like this: http://www.beausmith.com/mt/2009/07/heading-anchors-via-jquery.php Just wondering if anyone has used this and if there is a simpler way / better method? Thanks, Jackson

Re: [jQuery] jQuery minified

2009-10-29 Thread Ziling Zhao
1. The minified version is exactly the same as the full version, it is just compacted. There should no difference in functionality between the two. 2. This is not a question. On Thu, Oct 29, 2009 at 5:05 PM, Mike tombaha...@gmail.com wrote: Hey guys, i've got two questions for you: 1.

RE: [jQuery] jQuery minified

2009-10-29 Thread Jeffrey Kretz
A common solution is to use the minified version and then gzip that file to the client. There are many gzip solutions, depending on the server you have. JSP, PHP, ASP, etc. The idea is that it compresses the minified file (sort of light a lightweight ZIP or RAR) and it is downloaded in

[jQuery] SimpleModal problem in IE7

2009-10-29 Thread Bruce MacKay
Hi folks, I've just updated a previously functioning piece of code that uses the simplemodal plugin - the code does an ajax call to a file containing a email form and loads it into a modal layer. The code now longer works in IE7 using the latest version of simplemodal