[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread KrushRadio - Doc
Paypal Transaction ID: 8PY233604R986225R :D Thanks for your help. Actually, there were 2 parts that I didn't get.. one was the CSS selector syntax and how it needed to be formed inside of the initial grab.. Thats the learning curve. the way that 'day[name=Monday]show' didn't make any sense to

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread KrushRadio - Doc
Paypal Transaction ID: 8PY233604R986225R :D Thanks for your help. Actually, there were 2 parts that I didn't get.. one was the CSS selector syntax and how it needed to be formed inside of the initial grab.. Thats the learning curve. the way that 'day[name=Monday]show' didn't make any sense to

[jQuery] Re: dealing with a post (json) callback

2009-05-18 Thread dhtml
On May 13, 1:29 pm, Peter Warnock petewarn...@gmail.com wrote: [ ] is an array literal, like { } is an object literal. var obj = json[0]; You shouldn't useevalon JSON.  If you specify 'json' as your return type, jQuery will safelyevalvalid JSON. jQuery uses what ECMA 262 calls indirect

[jQuery] Re: Problem getting selected value from drop-down

2009-05-18 Thread Ricardo
Well, .val() on the select element returns the current value, so you can simplify that: $('select#myselect').change(function(){ var itemText = $(this).find('option:selected').text(); var itemValue = $(this).val(); $( '#answer' ).text( itemText + ' is number ' + itemValue ); }); or go even

[jQuery] Re: [autocomplete] Can I validate and update the entered value before doing the search?

2009-05-18 Thread ulf.ren...@gmail.com
I do not use any backend (if by that you mean server-side stuff that queries a db or something like that), I have such small datasets so all data is loaded statically in the html-file. I have tried to combined formatItem, formatMatch and formatResult to get what I want, but I have not managed to

[jQuery] Re: how to get a row of a table sorted with quicksearch plugin in a text box

2009-05-18 Thread abrar alam
kahaon ho bhai ? On Mon, May 18, 2009 at 10:23 AM, Mohd.Tareq tareq.m...@gmail.com wrote: Hi, To get data of a row you need to use id of that row. var row_data = $('#row_id').html(); To insert into your your form textarea Again you need to use id of that textarea. like :

[jQuery] Re: How to replace hardcode_value in jquery library

2009-05-18 Thread Steven Yang
what exactly do you mean by hardcode_value in jquery library?there isnt any/much AFAIK. if you mean the harcode_value in your code you can simply do $.get($(contact).val()), function(data){. correct me if i misunderstood you

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread Josh Powell
If you aren't forced to use XML, look at trying JSON instead. It is a MUCH friendlier format for passing information around. On May 17, 11:09 pm, KrushRadio - Doc drega...@gmail.com wrote: Paypal Transaction ID: 8PY233604R986225R :D Thanks for your help. Actually, there were 2 parts that I

[jQuery] JQuery css selector

2009-05-18 Thread ocptime
Hi everyone, How can I use the jQuery css selector on click function when the user clicks on the delete img or the delete a href tag? code div id=ribbon span class=right ul li a href=/items/makeActive/444img src=http://example.com/images/ checked.gif//a a

[jQuery] Validate textbox on option selected value

2009-05-18 Thread ciupaz
Hi all, I have this validate code to validate a textbox if the user select a combo value: script type=text/javascript $(document).ready(function() { $(form#2form).validate({ rules: { viaAltro: { required: #AltraVia:checked

[jQuery] UI dialog resize (width height settings)

2009-05-18 Thread c.sokun
I had problem when try to reuse div element with ui.dialog(). If I set the width height the first time it works; but if I call it from second function with different width height it won't apply the new setting. Also if I manually resize the dialog when it appear after close and reopen it use

[jQuery] Re: JQuery css selector

2009-05-18 Thread Peter Edwards
$('#delete_item a').click(function(){ return (confirm('Are you sure?')); }); This will only work if there is one item to delete on the page because it uses an ID selector. If you have multiple items, use a class selector instead. on 18/05/2009 08:43 ocptime said:: Hi everyone, How

[jQuery] remove() method IE 7 ERROR

2009-05-18 Thread snakebit
Hi, I have an ajax request which is returning an xml, but when I tray to remove an element from the xml response I'm receiving the following error message: This is happening only in IE7 (I didn't tray in IE6) Line: 1283 EROOR: Object doesn't support this property or method This is my code: var

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread Jörn Zaefferer
select-options don't have a checked property. You have to fix the selector #AltraVia:checked. Jörn On Mon, May 18, 2009 at 10:33 AM, ciupaz luigi.zambe...@gmail.com wrote: Hi all, I have this validate code to validate a textbox if the user select a combo value: script type=text/javascript

[jQuery] Re: How to replace hardcode_value in jquery library

2009-05-18 Thread Antonio
ok. thank you, it works Antonio On 18 Mag, 09:16, Steven Yang kenshin...@gmail.com wrote: what exactly do you mean by hardcode_value in jquery library?there isnt any/much AFAIK. if you mean the harcode_value in your code you can simply do $.get($(contact).val()), function(data){.

[jQuery] jqModal rebind after reload

2009-05-18 Thread wardenik
Hi, I'm using a standard jqModal thing. It works ok until after I reload the tab with an AJAX call. Then the .jqModal elements are not bound. The question is how to re-bind them again? I've tried $(#box).jqmAddTrigger(.jqModal); but it didn't help. And when I try to re-init the box with:

[jQuery] Re: JQuery css selector

2009-05-18 Thread ocptime
Hi, It's not working :). How can i select using the jquery ul li selector? Thanks ocptime On 18 May, 13:39, Peter Edwards p...@bjorsq.net wrote:   $('#delete_item a').click(function(){     return (confirm('Are you sure?'));   }); This will only work if there is one item to delete on the

[jQuery] Re: JQuery css selector

2009-05-18 Thread ocptime
Hi, It's not working :). How can i select using the jquery ul li selector? Thanks ocptime On 18 May, 13:39, Peter Edwards p...@bjorsq.net wrote:   $('#delete_item a').click(function(){     return (confirm('Are you sure?'));   }); This will only work if there is one item to delete on the

[jQuery] Re: JQuery css selector

2009-05-18 Thread ryan.j
$('ul li').click(function(){ /* ... stuff ... */ }); will bind soem code to the click event on all ul li elements, but you'll probably want to pass it some kind of unique identifier otherwise you'll get screwy results and be unable to do anything meaningful with the function. On May 18,

[jQuery] Re: How can I make diferent things depending on the 'msg' variable?

2009-05-18 Thread Jere
Any help :( ? On 17 mayo, 00:06, Jere jg13...@gmail.com wrote: Hi, The fact is, I want to have diferent functions depending on the 'msg' variable. For example, if the msg variable is error i want son events to hapen a some other events not. My code is this: $('#login').ajaxForm({        

[jQuery] Re: JQuery css selector

2009-05-18 Thread ryan.j
$('ul li').click(function(){ /* ... stuff ... */ }); will bind code to the click event on all ul li elements in the document, but you'll probably want to pass it some kind of unique identifier otherwise you may end up triggering the code when you don't want to since all li would trigger the

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
remove() will remove an object from the DOM, but you're jsut trying to remove part of a string. use replace()? On May 18, 9:42 am, snakebit bozhidar...@gmail.com wrote: Hi, I have an ajax request which is returning an xml, but when I tray to remove an element from the xml response I'm

[jQuery] Re: JQuery css selector

2009-05-18 Thread ocptime
Hi, It's not working :). How can i select using the jquery ul li selector? Thanks ocptime On 18 May, 13:39, Peter Edwards p...@bjorsq.net wrote:   $('#delete_item a').click(function(){     return (confirm('Are you sure?'));   }); This will only work if there is one item to delete on the

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
remove() will remove an object from the DOM, but essentially you're just trying to remove part of a string aren't you? maybe try replace()? On May 18, 9:42 am, snakebit bozhidar...@gmail.com wrote: Hi, I have an ajax request which is returning an xml, but when I tray to remove an element

[jQuery] Re: JQuery css selector

2009-05-18 Thread ocptime
Hi, It's not working :). How can i select using the jquery ul li selector? Thanks ocptime On 18 May, 13:39, Peter Edwards p...@bjorsq.net wrote:   $('#delete_item a').click(function(){     return (confirm('Are you sure?'));   }); This will only work if there is one item to delete on the

[jQuery] Re: JQuery css selector

2009-05-18 Thread ryan.j
are you initiating the click()? $(function() { $(ul li).click(function () { alert(clicky, innit.); }); }); On May 18, 10:58 am, ocptime mail.samgeo...@gmail.com wrote: Hi, It's not working :). How can i select using

[jQuery] Re: JQuery css selector

2009-05-18 Thread ryan.j
$(function() { $(ul li).click(function () { alert(clicky, innit.); }); }); maybe take a look through the jquery tutorials here - http://docs.jquery.com/Tutorials On May 18, 11:07 am, ocptime mail.samgeo...@gmail.com wrote: Hi, It's not working :). How can i select using the jquery

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread ciupaz
How can I make this Jorn? Luigi On May 18, 10:42 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: select-options don't have a checked property. You have to fix the selector #AltraVia:checked. Jörn On Mon, May 18, 2009 at 10:33 AM, ciupaz luigi.zambe...@gmail.com wrote: Hi

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread Karthikraj
instead of $(data_responce).find('PDialog'); try this $('div'+data_responce+'/div').find('PDialog'); On May 18, 1:42 pm, snakebit bozhidar...@gmail.com wrote: Hi, I have an ajax request which is returning an xml, but when I tray to remove an element from the xml response I'm receiving the

[jQuery] Re: JQuery css selector

2009-05-18 Thread Peter Edwards
Take a look at this example: http://bjorsq.net/selector.html on 18/05/2009 11:07 ocptime said:: Hi, It's not working :). How can i select using the jquery ul li selector? Thanks ocptime On 18 May, 13:39, Peter Edwards p...@bjorsq.net wrote: $('#delete_item a').click(function(){

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread Jörn Zaefferer
Try this (untested): required: #viaFornitura[selectedIndex=1] Jörn On Mon, May 18, 2009 at 12:13 PM, ciupaz luigi.zambe...@gmail.com wrote: How can I make this Jorn? Luigi On May 18, 10:42 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: select-options don't have a checked

[jQuery] What's the best way to replace text in a node?

2009-05-18 Thread George
I'm guessing this should be a simple one for the jQuery stalwarts here. I've recently moved over from Protoype and was used to using the update() function to replace text within a node - something like this: PROTOTYPE p id='dText'text to be replaced/p $('dText').update('New text string')

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread George
Sorry, folks, I'm not using remove(), I'm using empty() - like this: JQUERY p id='dText'text to be replaced/p $('#dText').empty().append('New text string') On May 18, 12:02 pm, George george.bea...@googlemail.com wrote: I'm guessing this should be a simple one for the jQuery stalwarts here.

[jQuery] images height() or attr(height) for dynamically added elements

2009-05-18 Thread GianCarlo Mingati
Hello everybody. I am experiencing difficulties in calculating the height of dynamically added images. I have a new plugin wich i have already released and i'm happy wih it, but one of settings users can choose is to change the 'layout' of the buttons in the gallery by adding an image instead of

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread snakebit
I'm little confused. Why you think I want to remove a string? What I'm doing is with find('PDialog') to access the PDialog node and after that to remove it. On 18 Май, 13:01, ryan.j ryan.joyce...@googlemail.com wrote: remove() will remove an object from the DOM, but essentially you're just

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-18 Thread okdok
Can anyone provide me an example of how I can modify supersubs.js to create a multi-column dropdown? Thanks! On May 16, 12:46 pm, Ethan Mateja ethan.mat...@gmail.com wrote: Thanks for the prompt reply! I took a peek at supersubs.js and my question is this: Is it just a matter of adding an

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread snakebit
I tray that, but find didn't finde PDialog node. On 18 Май, 13:20, Karthikraj karthik271...@gmail.com wrote: instead of  $(data_responce).find('PDialog'); try this $('div'+data_responce+'/div').find('PDialog'); On May 18, 1:42 pm, snakebit bozhidar...@gmail.com wrote: Hi, I have an

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread donb
.text('some text') or .html('somehtml/some') ? On May 18, 7:08 am, George george.bea...@googlemail.com wrote: Sorry, folks, I'm not using remove(), I'm using empty() - like this: JQUERY p id='dText'text to be replaced/p $('#dText').empty().append('New text string') On May 18, 12:02 pm,

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread donb
And when size is important, smaller too. On May 18, 3:21 am, Josh Powell seas...@gmail.com wrote: If you aren't forced to use XML, look at trying JSON instead.  It is a MUCH friendlier format for passing information around. On May 17, 11:09 pm, KrushRadio - Doc drega...@gmail.com wrote:

[jQuery] Re: UI dialog resize (width height settings)

2009-05-18 Thread Richard D. Worth
You can only call .dialog({ width: XX, height: YY }) once. That's an init. After that you can change the width and height by calling dialog's option method, specifying the option you want to change, and the new value: $(#myDiv).dialog(option, width, newXX); $(#myDiv).dailog(option, height,

[jQuery] Problem jqm and $.get

2009-05-18 Thread Leandro Tuttini
hi, I am having problem when I use the $.get and jqm. I developed a easy example about the problem, you can download it from: http://cid-5c82aa0c9bbaf5b3.skydrive.live.com/self.aspx/Public/Forum/WebAppjQuery.zip When the example run, you can see a default.aspx page with two buttons. You need

[jQuery] .onclick - Executing a function before another - Help Solve

2009-05-18 Thread MattLewisDesign
Need the closeAll() function to execute before the div's slidedown. All divs are initially hidden, just making a check that if one is open, it must close before any new div runs. Can someone help point me in the right direction? Here is what I have so far. function closeAll() {

[jQuery] Onwidow resize element width

2009-05-18 Thread dPO
Hey i am trying to create a plugin that changes the css of a div according to size of window. I cant use a % based layout because it causes a gap in the layout that i dont like. a small description of the script would be something like this: windowwidth = 1000px calculation =

[jQuery] replace existing div with fadeIn

2009-05-18 Thread jan
Hi, I am trying to create a simple menu. Here is what I am trying to accomplish. When you click a link from a li list a div fades in on top of the list. When you click another link from the list I want previously faded in div to be replaced by new div. What I have now is all the links fades in

[jQuery] Problem how to set left value for top navigation menu

2009-05-18 Thread borgy manotoy
Hi All, I would like to ask how will I set the left value of my currently selected list. such that: var a = getViewportWidth(); var b = getMouseXPosition(e); var list_width = 150; var c = b + list_width; if(c a) { //HOW TO: CODE FOR ADJUSTING LEFT VALUE OF SELECTED LIST }else{ //NO

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

2009-05-18 Thread abelafonte
This is exactly what I needed. Had no idea what was going on when the slide mysteriously had a background color that matches a div three levels up in the hierarchy. I guess there's no fix for the lack of transparency with this attribute set? On May 11, 1:37 pm, Maksym Melnyk momel...@gmail.com

[jQuery] Hiding a menu in Superfish

2009-05-18 Thread joems
Hi, I want to make a dynamic menu where the items being shown depends on the access of the user. I tried having a code in codebehind of my aspx page that will set a certain li to style display none, but when viewed in IE6 I get a white space within the menu.

[jQuery] Best book to learn jQuery?

2009-05-18 Thread alex
Just wondering what your opinions are on the best book out there, for a beginner, to learn jQuery? I know HTML and CSS well enough, but have no javascript knowledge. Thanks

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread Michael Price
You can use either: $(selector).text(New text); Or $(selector).html(New text); Both also work as getters if you don't provide an argument: theText = $(selector).text(); theHTML = $(selector).html(); Is this what you were after? Regards, Michael Price -Original Message- From:

[jQuery] Re: What's the best way to replace text in a node?

2009-05-18 Thread George
That's what I was after - knew jQuery wouldn't disappoint! Many thanks George On May 18, 1:08 pm, Michael Price m...@edwardrobertson.co.uk wrote: You can use either: $(selector).text(New text); Or $(selector).html(New text); Both also work as getters if you don't provide an argument:

[jQuery] Re: cycle plugin not working

2009-05-18 Thread Mike Alsup
head script type=text/javascript src=/jquery/cycle.js/script script type=text/javascript src=/jquery/jquery-1.3.2.min.js/ script This is backwards. You need to include jquery before you include the cycle plugin. On May 18, 1:31 am, surreal5335 surrea...@hotmail.com wrote: I am trying to

[jQuery] accesing array/variables with a function

2009-05-18 Thread introvert
Hello I'm having problems with the following code: for (var i = 0; i images.length; i++) { var img = new Image(); img.src = images[i][0]; $(img).bind('load', function() { stack.push( $('a/').attr('href', images[i][1]).append(this)[0]

[jQuery] Re: .onclick - Executing a function before another - Help Solve

2009-05-18 Thread weidc
what about adding a class to the open div's. like this: $(.button1).click(function() { if($(div).hasClass(open)) { $(.open).removeClass(open).slideUp('slow', function() { $(.div1).addClass(open).slideDown('slow'); }); } else {

[jQuery] Re: Hiding a menu in Superfish

2009-05-18 Thread joems
Did it, instead of using display none I instead used jquery remove function instead. On May 17, 6:38 pm, joems joemer...@gmail.com wrote: Hi, I want to make a dynamic menu where the items being shown depends on the access of the user. I tried having a code in codebehind of my aspx page that

[jQuery] Re: [autocomplete] Can I validate and update the entered value before doing the search?

2009-05-18 Thread Tom Worster
On 5/18/09 2:57 AM, ulf.ren...@gmail.com ulf.ren...@gmail.com wrote: My best though right now is to patch the plugin to include another option - substituteValue - which could be a function that validates and rewrites the data in any desired way before the match is done. i've thought in the

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread MorningZ
I always recommend jQuery in Action it's a great read On May 18, 3:19 am, alex boba...@googlemail.com wrote: Just wondering what your opinions are on the best book out there, for a beginner, to learn jQuery? I know HTML and CSS well enough, but have no javascript knowledge. Thanks

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread CarComplaints.com
jQuery selectors take an optional 2nd parameter to provide a search context (object to search through). Pretty minor but it reduces the code nicely... you can get rid of the 3 find()'s. var time = $('time',this).text(); var dj = $('dj',this).text(); var showname =

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Karl Swedberg
I've heard Learning jQuery 1.3 is a great read, too. ;-) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 18, 2009, at 9:07 AM, MorningZ wrote: I always recommend jQuery in Action it's a great read On May 18, 3:19 am, alex boba...@googlemail.com

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Brandon Aaron
On Mon, May 18, 2009 at 8:35 AM, Karl Swedberg k...@englishrules.com wrote: I've heard Learning jQuery 1.3 is a great read, too. ;-) HAHAHA... I think you forgot your disclaimer. :p Karl is a co-author of Learning jQuery. Nonetheless, Learning jQuery 1.3 would be a great choice. :) --

[jQuery] $.load() doesn't fires script tags?

2009-05-18 Thread asrij...@googlemail.com
Hi Guys, just facing an issue: I'm creating a worklflow for my app and found $.load() very usefull. It works except that script / tags aren't loaded. I got some jQuery Objects (like Flexbox etc) in my remote pages and would like to have access to this objects after the load() but after load()

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread g10tto
bump

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
you mean like like fadeIn() and fadeOut() ? On May 14, 5:27 pm, g10tto cteague1...@gmail.com wrote: I'm putting together a portfolio site and I'd like to use high-res images that take up most of the screen to show different works. There would be a menu bar with links to each work, where a

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
i may be completely misunderstanding you, but have you tried to combine a fadeOut() on the first image then a fadeIn() on the next image? you can change the background-color of a div with $('#yourDiv').css (background-color, newColour) or if you're feeling fruity you can layer the 2 images up

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
monday morning mate, i completely misread what you wrote :| it's a bug i guess, have you tried to bypass the remove() method? eg. pDialog.parentNode.removeChild(pDialog); On May 18, 12:17 pm, snakebit bozhidar...@gmail.com wrote: I'm little confused. Why you think I want to remove a

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread CarComplaints.com
I'll second the JSON suggestion. Assuming from your XML code example that you're only ever going to have day/show nodes, here's the JSON: { 'Monday' : [ { time : 0800-1000, dj : mc funk, name : nonstop music }, { time : 1000-1200, dj : mc rap, name : nonstop music } ], 'Tuesday' :

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread MorningZ
Damn, I missed the memo that there was a 1.3 version out and about ! On May 18, 9:35 am, Karl Swedberg k...@englishrules.com wrote: I've heard Learning jQuery 1.3 is a great read, too. ;-) --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On May 18, 2009, at

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread alex
Are there any problems when jQuery is updated, or is it solely no information about new effects and stuff? I've only been using jQuery for a couple of weeks, are new releases frequent? On May 18, 2:35 pm, Karl Swedberg k...@englishrules.com wrote: I've heard Learning jQuery 1.3 is a great read,

[jQuery] Re: How to animate background images or background of div

2009-05-18 Thread ryan.j
i may be completely misunderstanding you, but have you tried to combine a fadeOut() on the first image then a fadeIn() on the next image? you can change the background-color of a div with $('#yourDiv').css(background-color, newColour) but that will just change it, it won't fade it gradually on

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Richard D. Worth
A look through http://docs.jquery.com/History_of_jQuery may help answer both questions. Dot releases (1.1, 1.2, 1.3) can contain new features and API changes that can require code updates, but it's always well documented, as you can see by clicking on a few links on that page, that take you to

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread ryan.j
they have a blog on the official site, which details changes to jquery and any updates to popular/interesting plugins http://blog.jquery.com/ On May 18, 3:44 pm, alex boba...@googlemail.com wrote: Are there any problems when jQuery is updated, or is it solely no information about new effects

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 05:33, ciupaz luigi.zambe...@gmail.com wrote: Hi all, I have this validate code to validate a textbox if the user select a combo value: script type=text/javascript     $(document).ready(function() {                 $(form#2form).validate({

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread mdk
Yes, but because he has no JS he will like have a tough time. I would read a basic JS book first, then go for Learning jQuery 1.3. Mike On May 18, 8:35 am, Karl Swedberg k...@englishrules.com wrote: I've heard Learning jQuery 1.3 is a great read, too. ;-) --Karl Karl

[jQuery] Internet Explorer OMG

2009-05-18 Thread Dmitri
I have a function caps = []; /* some array */ function activate() { var index = parseInt(Math.random() * caps.length); if( caps.length 0) { caps[index].addClass(active); $(#tip).html(caps[index].html()); } else { win(); }

[jQuery] Web dev problem face to face with JAVA J2EE Dev's

2009-05-18 Thread elpatator
Hi all, my problem is quite, I have to admit it, confusing. My client has a couple of JAVA hardcore coders, but obviously none of them understands the concept of ajax (not so hardcore now, huh ? ...). As myself am not confident with the JAVA/J2EE/STRUTS concepts, I'm trying to find out a way to

[jQuery] jquery: display external page inside popups (mail goggles)

2009-05-18 Thread rayche...@gmail.com
Hi, I've been through various jQuery windows popups (modal, fancybox,boxy, à la facebook ...) but none of them convinced me. I want to display inside the popup php/html file not images. I really like the modal style but it displays only javascript files. My goal is to have kind of mail goggles

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 07:33, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this (untested): required: #viaFornitura[selectedIndex=1] Jörn On Mon, May 18, 2009 at 12:13 PM, ciupaz luigi.zambe...@gmail.com wrote: How can I make this Jorn? Luigi

[jQuery] [validate] - disabling focusInvalid for a given element

2009-05-18 Thread Steve J
Group, I'm putting together a form using the Validate plugin, and have run into an issue it would be nice to resolve. My issue Is around the focusInvalid option. I'd like to disable the focusInvalid behavior for a particular element, yet keep it enabled for the rest. Is this possible? Any help

[jQuery] Re: Validate textbox on option selected value

2009-05-18 Thread matheus
Are you using the validation plugin? On 18 maio, 07:33, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this (untested): required: #viaFornitura[selectedIndex=1] Jörn On Mon, May 18, 2009 at 12:13 PM, ciupaz luigi.zambe...@gmail.com wrote: How can I make this Jorn? Luigi

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread snakebit
I know the feeling :) my temporary solution is almost the same as yours: var pDialog = data_responce.getElementsByTagName(PDialog); data_responce.documentElement.removeChild(pDialog[0]) On 18 Май, 17:13, ryan.j ryan.joyce...@googlemail.com wrote: monday morning mate, i completely misread what

[jQuery] Re: How to display additional text along with link

2009-05-18 Thread vmrao
Thanks. This helped reduce the code but still not perfect. Here is my present code which works but still I cannot eliminate some redundant code. $(a[href$='.doc']:not(a[href^='http']),a[href$='.xls']:not(a [href^='http']),a[href$='.ppt']:not(a[href^='http']),a[href

[jQuery] Events - Live -v- Livequery

2009-05-18 Thread Meander365
Hi all, I normally do this with livequery: $('.mylink').livequery(function(event) { $(this).mycustomFunction(); }); So any new .mylink's on a page would also be bound with my custom function. How can I do this with the new LIVE event?

[jQuery] Re: Cross Port Jquery Library Call

2009-05-18 Thread Shadraq
In case anyone stumbles in here with the same issue, I was able to solve this pretty easily... As long as your library includes aren't port specific, and your $.post () url is pointing to the port you need (http(s)) then, there won't be any problems. Your library call should be something like

[jQuery] Re: Onwidow resize element width

2009-05-18 Thread weidc
might not help but i did those window resize once for one of my objects. was always at the right place after resize. $(window).resize(function() { //footer var leftabstand = $(.footer_08).offset(); var width = $(.footer_08).width(); var left= leftabstand.left +

[jQuery] Re: remove() method IE 7 ERROR

2009-05-18 Thread ryan.j
i'd actually be tempted to try... try { pDialog.remove(); } catch(e) { /* console.log(remove method failed); */ pDialog.parentNode.removeChild(pDialog); } ...which isn't very pretty but it should start working properly as soon as somebody gets around to fixing remove() without needing the

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread ryan.j
i'm pretty sure you can only bind event handlers with .live, so you'd need to link it to a click or something. On May 18, 3:58 pm, Meander365 aarron.pain...@gmail.com wrote: Hi all, I normally do this with livequery:                 $('.mylink').livequery(function(event) {                  

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Brandon Aaron
Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query. -- Brandon Aaron On Mon, May 18, 2009 at 9:58 AM, Meander365 aarron.pain...@gmail.com wrote: Hi all, I normally do this with

[jQuery] JQUERY Pagination

2009-05-18 Thread bharani kumar
Hi all, Please refer few jquery pagination plugins , Also need in the able heading with sort type , for example Assume if i click the date , then i want sort by date , if i click subject , need to sort by subject , *Date* *Subject* *09-08-1984* Subject 1 *10-09-1986* Subject 2

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread rayche...@gmail.com
Back again, I mean most method consist of hidding inside a div id=content inside the same page. Then the popup will display the what's inside the div ... Is there a way to display from an external html or php file. Tks Raymond

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread chris thatcher
fascinating, i didn't even know you could do that... On Mon, May 18, 2009 at 11:56 AM, Brandon Aaron brandon.aa...@gmail.comwrote: Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query.

[jQuery] Re: Internet Explorer OMG

2009-05-18 Thread Ricardo
When you call activate() inside the click handler, you add one more event listener for the click, which calls activate() again and so on. You should either not call the function from within itself or move the bind() outside. On May 18, 9:29 am, Dmitri smirnov.dmi...@gmail.com wrote: I have a

[jQuery] Re: cycle plugin not working

2009-05-18 Thread surreal5335
Thanks a lot for pointing that out, I made the change which changed nothing sadly. I even cleared my cache and refreashed everything to get the changes to take effect, but still nothing. I am sure that was one of the problems but there seems to other problems still Could you tell me if it is

[jQuery] jQuery Workshop - We Want Your Input!

2009-05-18 Thread Justin Kozuch
Hi Everyone Apologies for the intrusion, but I'm looking for your input on something. We're looking for input on a jQuery Workshop - let us know what's on your mind! Please fill out our poll at http://spreadsheets.google.com/viewform?formkey=cnN3VWxKcjNOYkZzX1lCNjgwZ29kNVE6MA when you have a

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread geronimo3
Use an iframe for that instead of div id=content use: iframe src=SomeHtmlOrPhpFile On May 18, 6:04 pm, rayche...@gmail.com rayche...@gmail.com wrote: Back again, I mean most method consist of hidding inside a div id=content inside the same page. Then the popup will display the

[jQuery] Re: I'll Donate $20USD to Jquery if you can teach me how to do this

2009-05-18 Thread KrushRadio - Doc
I'll have to check that out... seeing i can eventually craft the data however i want to when it comes out.. But note to self and completly off conversation... Based on that example, I could use jquery to parse LUA that comes from World Of Warcraft The dataformat is very very similar. On

[jQuery] Re: jquery: display external page inside popups (mail goggles)

2009-05-18 Thread Liam Byrne
$(#content).load(newfile.php) ? rayche...@gmail.com wrote: Back again, I mean most method consist of hidding inside a div id=content inside the same page. Then the popup will display the what's inside the div ... Is there a way to display from an external html or php file. Tks Raymond

[jQuery] [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
Hi everyone - I've used and loved the form validation plugin developed by Jörn Zaefferer, and I've run into several cases in which I would like to be able to essentially say, if these conditions are met, the form's valid, period, without actually checking through valid(), element() or any other

[jQuery] scrollTop on jQuery object

2009-05-18 Thread Arrviasto
Hi! I have to use scrollTop and scrollHeight properties, but on jQuery object it returns `undefined`. Is there any method to get this property from jq object? It doesn't matter, but my object looks like this: var $win = $(this) // div on my page var $msgs = $win.find('.msgs');

[jQuery] Ajax history/back button - with a twist

2009-05-18 Thread Sven Dahlstrand
Hi folks, I have the classic ajax history/back button problem - with a twist. :-) I'm developing a simple order form using Rails and jQuery. On the top of the page there's a cart and right below it a search form for products. When the user start to type in the search box results are presented

[jQuery] EasySlider 1.5: Tabbing through forms

2009-05-18 Thread Francis Pat Patterson
I'm developing a form using the jQuery plugin EasySlider 1.5: http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding I want to add the ability to initiate the slider action when a user tabs to a field located off-screen, as in this example:

[jQuery] Need QuickLinks jQuery functionality as seen on NorthPoint.org at top of page

2009-05-18 Thread JonDod
Does anyone know where I can grab jQuery code that will give me the QuickLinks functionality as seen on NorthPoint.org at the top of their web pages? When clicked it slides the pages content down to display a links menu. When mousing over the link the boxes resize to display a brief explanation

  1   2   >