[jQuery] sifr on newly added tags

2009-08-13 Thread Snef
Hi, I use sifr on some h1 elements in a certain div. Can it be automated (like .live use) to sifr newly added h1 elements? (I thought about .live, but that is with an event like click). S.

[jQuery] Re: IE8 Selector Bug?

2009-08-13 Thread Liam Potter
If you are using 1.2.6 you need to use the @ symbol $('#Row_1 inp...@type=text]').each(function() { $(this).val(''); }); gentry wrote: Anybody know why this doesn't work in IE8 with jQuery version 1.2.6? It works in the latest jQuery version but I can't move to it yet because of some

[jQuery] Re: IE8 Selector Bug?

2009-08-13 Thread Liam Potter
ignore that Liam Potter wrote: If you are using 1.2.6 you need to use the @ symbol $('#Row_1 inp...@type=text]').each(function() { $(this).val(''); }); gentry wrote: Anybody know why this doesn't work in IE8 with jQuery version 1.2.6? It works in the latest jQuery version but I

[jQuery] Odd issue validating email list against regular expression

2009-08-13 Thread Miguel
I am stuck on this seemingly simple validation loop. I want to iterate through a list of comma separated emails entered in a textarea input and check their validity before submitting the form. For some reason even when I enter all valid emails every other email doesn't pass the validation test!

[jQuery] BarCamp Phnom Penh '09 - Technology, Communication and Innovation

2009-08-13 Thread Chantra
Sorry for cross posting. An open conference of all things Technology, Communication and Innovation. It's a user generated conferences — open, participatory workshop-events, whose technology-related content is provided by participants. Venue: Paññasastra University of Cambodia (South Campus), Ph

[jQuery] Cycle Plugin Error in IE

2009-08-13 Thread Dan
Hi, I seem to have the jQuery cycle plugin working in most browsers, but get an error in IE6/7 when using the following code: $(function() { $('#slideshow') .cycle({ fx: 'fade', timeout: 0, cleartype: 1, speed: '1500', prev: '#

[jQuery] Re: Drag and Drop in Tabs

2009-08-13 Thread Applecore
The jquery.tabs.js file uses the jQuery.load function to load content from a file. The problem is that this function will remove all scripts from the file because it can't handle them. The only function that will allow this is the jQuery.ajax function you can see the part that would allow this he

[jQuery] Hover function issue

2009-08-13 Thread Geir
Hi! ..rather new to javascript I'm making a rollover-script for my site. It works fine for one image, but not for many. How can I modify it to supprt any number of images? var sti = $('.ro').attr('src'); var nySti = sti.replace('.png', '_ov.png') $('.ro').hover(function()

[jQuery] jQuery Cycle Plugin - how to construct pagerAnchorBuilder relative to object being cycled

2009-08-13 Thread jqueryck
I have several sections on a page that have the same structure, a div with information to cycle and a div with navigation. Each section has the same classes and mark up, but varies with actual content. What follows isn't exact, but similar markup: ... ... I want to loop t

[jQuery] Re: Slidedown menu works in FF and IE but not Chrome, Safari & Opera

2009-08-13 Thread Jocelyn
As usual, your post should contain all informations needed, ie the versions of jquery, opera, chrome involved. On 13 août, 08:53, Abi Fadeyi wrote: > any solutions for this? > > On Jul 28, 2:27 pm, healthyaddiction > wrote: > > > I created a drop down menu (i think i followed a tutorial but it

[jQuery] How to add method to plugin, so it's possible to call it from callbacks?

2009-08-13 Thread szimek
Hi, I'm using MultiFile plugin and it allows you to specify callback functions for events like i.e. afterFileAppend: $(document).ready(function() { var addDescription = function(fileInput, descriptionId) {do something}; $('.multi_image').MultiFile({ afterFileAppend: function(fileInput)

[jQuery] Printing JQuery Tutorials?

2009-08-13 Thread derek
Hi I'm just getting started with JQuery and would like to be able to print out the tutorials to read off line. When I visit a page such as: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery I see a button to the left under Tools, labelled "Printable" view. Clicking this results in the

[jQuery] Re: Odd issue validating email list against regular expression

2009-08-13 Thread Miguel
Fixed! The problem is with the line breaks generated inside the text area as "\n". Not visible but are there and don't pass the validation test. Solution was to get rid of them and also white spaces by cleaning the text area input before passing them to the validation function. I added this:

[jQuery] [treeview] How to refresh the ajax-builed tree?

2009-08-13 Thread George K
Hi. I'm using treeview with ajax, but when I need to refresh it, it does not open closed branches. As an example. Open the demopage with firebud enabled: http://jquery.bassistance.de/treeview/demo/async.html ok. Now I want to refresh it, so I'm writing this code into firebug console: $("#black").

[jQuery] Re: Hover function issue

2009-08-13 Thread Liam Potter
Simple rollovers should be done with CSS and using a sprite image rather then two seperate images. Geir wrote: Hi! ..rather new to javascript I'm making a rollover-script for my site. It works fine for one image, but not for many. How can I modify it to supprt any number of images?

[jQuery] Re: Printing JQuery Tutorials?

2009-08-13 Thread Richard D. Worth
Add ?action=render to the end of the url, like so: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery?action=render That'll give you just the html contents of the page. - Richard On Thu, Aug 13, 2009 at 4:14 AM, derek wrote: > Hi > > I'm just getting started with JQuery and would lik

[jQuery] Re: Hover function issue

2009-08-13 Thread Jonathan Vanherpe (T & T NV)
Geir wrote: Hi! ..rather new to javascript I'm making a rollover-script for my site. It works fine for one image, but not for many. How can I modify it to supprt any number of images? var sti = $('.ro').attr('src'); var nySti = sti.replace('.png', '_ov.png') $('.ro').ho

[jQuery] Re: Cycle Plugin Error in IE

2009-08-13 Thread Dan
Sorry *embarrassed - stray comma after pagerFactory. Problem solved. > Hi, > > I seem to have the jQuery cycle plugin working in most browsers, but > get an error in IE6/7 when using the following code: > > >     $(function() { >       $('#slideshow') >         .cycle({ >           fx: 'fade',

[jQuery] Re: Add / Remove Class help

2009-08-13 Thread Richard D. Worth
You selector has an error: $(".bookmarked,.bookmarked not") That will match any elements with a class of 'bookmarked' as well as any elements of type 'not' descendant of elements with a class of bookmarked. It seems you've copied the value from the class attribute of your element. Problem is, the

[jQuery] How to Get Retuned GeoLocation

2009-08-13 Thread Bluesapphire
Hi! Iam using following JQuery Code: /***/ jQuery(document).ready(function(){ jQuery.post( 'http://api.hostip.inf

[jQuery] Access denied when calling webservice method using jquery

2009-08-13 Thread dinesh
Hi All... I want to call C# method from jquery. So, I placed those methods in webservice and trying to call from jquery. But, it is giving an error as shown below: Access to restricted URI denied" code: "1012 This is seen from the Firebug console. Could any one help me? -Thanks

[jQuery] Returned value from first Ajax call is not shown in the second ajax call

2009-08-13 Thread Aruna
Hi, I am new to JQuery and Ajax I am trying to use the value returned from the Ajax call to the another Ajax call.. like $(document).ready(function(){ $.ajax({ type: "POST", url: "[jQuery] Re: hide() does not hide span in IE, but does in FF
Thanks for the advice. I put the code up on jsbin. Here is the link http://jsbin.com/esipu On Aug 5, 12:29 pm, "Cesar Sanz" wrote: > I will suggest you, that instead of pasting all your code (which ALMOST > nobody reads) you put a demo inhttp://www.jsbin.com > >   - Original Message

[jQuery] Re: Printing JQuery Tutorials?

Thanks! Maybe they should just alter the button to generate this type of URL? On Aug 13, 11:28 am, "Richard D. Worth" wrote: > Add ?action=render to the end of the url, like > so:http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery?action=r... > > That'll give you just the html content

[jQuery] Re: How to Get Retuned GeoLocation

it might be a cross-site scripting issue you may get around it by writing a simple 'wrapper' php script on your own webserver, which uses cURL to get the info and return it to your js On Aug 13, 8:03 pm, Bluesapphire wrote: > Hi! >     Iam using following JQuery Code: > > /***

[jQuery] Re: How to Get Retuned GeoLocation

Bluesapphire wrote: Hi! Iam using following JQuery Code: /***/ jQuery(document).ready(function(){ jQuery.post( '

[jQuery] Re: Add / Remove Class help

you could also use $("bookmarked, .bookmarked.not") esp. if the ".not" class is used elsewhere in the html On Aug 13, 7:51 pm, "Richard D. Worth" wrote: > You selector has an error: > $(".bookmarked,.bookmarked not") > > That will match any elements with a class of 'bookmarked' as well as a

[jQuery] Re: How to hide pop is blur

$('#show').click(function(){ $('#popup').fadeIn("slow", function(){ $(other things).click(function(){ $('#popup, #show').hide(); }); }); }); 2009/8/13 David .Wu > > There is a button control a div show or not, I want when you click > other things then the div will disap

[jQuery] IE8 General Issues

Hi folks, I'm new to JQuery and am looking to use it in an ASP.NET MVC app running under IE8, probably forced into full IE8 mode (compatibility-mode wise). How does IE8 play with JQuery? Are there any known issues (especially biggies) with JQuery on IE8 or does it work nicely on it? Cheers MH

[jQuery] Re: Printing JQuery Tutorials?

Good idea. We've done that now. - Richard On Thu, Aug 13, 2009 at 6:58 AM, derek wrote: > > Thanks! Maybe they should just alter the button to generate > this type of URL? > > On Aug 13, 11:28 am, "Richard D. Worth" wrote: > > Add ?action=render to the end of the url, like so: > http://docs.jq

[jQuery] Re: JSON how to transform an object into an array?

It still depends on apache configs.. you can confiure how much the access log puts out regarding that in LogLevel or LogFormat directive.. see the docs for more details. a good place to start if you are really concerned: http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#logformat On Aug

[jQuery] JQzoom help!

hello, I'm new to JQzoom ( http://www.mind-projects.it/projects/jqzoom/index.php#examples ) and I have two questions; 1) how can I display the zoomed area on load without mousing over the main image? 2) is there anyway to control the zoom in/out, or does it have to stay at the current level? a

[jQuery] How to bind text to trigger checkbox?

Couldn't find it in documentation. For example i have text and when someone clicks on it, it should trigger checkbox to "checked" or "unchecked". Thanks! :)

[jQuery] Re: How to bind text to trigger checkbox?

http://docs.jquery.com/Events/trigger Denis Abramov wrote: Couldn't find it in documentation. For example i have text and when someone clicks on it, it should trigger checkbox to "checked" or "unchecked". Thanks! :)

[jQuery] Re: Printing JQuery Tutorials?

2009/8/13 Richard D. Worth : > Good idea. We've done that now. > - Richard > > On Thu, Aug 13, 2009 at 6:58 AM, derek wrote: >> >> Thanks!  Maybe they should just alter the button to generate >> this type of URL? Rather than all this mucking about with special URLs and having to follow links to

[jQuery] Slideshow Dies in 1.3.2 but works in 1.3.1 and below

Basically, I can click the next button and go forward until it reaches the last slide then it sticks. The Back button is also broken. This code works great with 1.3.1 and 1.2.6 but has the aforementioned bugs in 1.3.2 $(document).ready(function() { var fadeSpeed = 1000; var cu

[jQuery] Re: Slideshow Dies in 1.3.2 but works in 1.3.1 and below

try changing $("a.sl_next").click(slNext); $("a.sl_back").click(slBack); to $("a.sl_next").click(function(){slNext}); $("a.sl_back").click(function(){slBack}); no idea if this will work btw Brad wrote: Basically, I can click the next button and go forward until it reaches the last slide th

[jQuery] Re: Printing JQuery Tutorials?

That's a really good idea. I would love to print them all out, bind them, and make my own little book. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Nick Fitzsimons Sent: Thursday, August 13, 2009 10:27 AM To: jquery-en@googlegroup

[jQuery] Re: Slideshow Dies in 1.3.2 but works in 1.3.1 and below

Didn't work. thanks for trying though, Liam. I believe the bug may be in jQuery 1.3.2 itself because this is the first time I've ever had a bug I can't just narrow down to a section of code. On Aug 13, 11:00 am, Liam Potter wrote: > try changing > > $("a.sl_next").click(slNext); > $("a.sl_back"

[jQuery] Re: How to bind text to trigger checkbox?

I'm not sure if this is a question or not... but if you want to be able to click a block of text to activate a checkbox, you can use the "label" tag to associate a text block with a checkbox. Check Checkbox No jQuery needed here.. On Aug 13, 10:16 am, Liam Potter wrote: > http://docs.jquery.

[jQuery] Re: Post variable array

Boy...I wish I asked here before I wrote all of those extra and unnecessary lines. Thanks for all of your help though. The serialize function worked perfectly. On Aug 12, 6:36 pm, James wrote: > I believe what you're trying to do is what serializeArray() function > in jQuery already does:http://

[jQuery] listmenu

I have 2 questions. 1) When the list is shown and I click an item is there a way to hide the list or do I have to wait until the user moves their mouse off of it. 2) If I add or remove items from the UL that contains the items will this be reflected in the menu? Thanks Paul Speranza

[jQuery] Issue with live events, a form and the back button...

Hi, I have build a quite complex widget which contains "some kind of form". It has a form tag, but I'm loading a lot of stuff in there via Ajax etc. Cannot explain it in detail, and the code is too long to paste in here. Now, in a "live('click', function()" I use for one of the form fields, I'm

[jQuery] Best way to add attributes/extend element

When you need for a certain element (say a text input box) to remember some data, what is the best way to do this? Can you extend the input box object with jquery? Right now i've been storing it in the rel tag $('#testInput').attr('rel','extrainfo') it just seems like there should be a better way

[jQuery] Re: Best way to add attributes/extend element

On Thu, Aug 13, 2009 at 12:44 PM, twooton wrote: > When  you need for a certain element (say a text input box) to > remember some data, what is the best way to do this? Can you extend > the input box object with jquery? Right now i've been storing it in > the rel tag $('#testInput').attr('rel','ex

[jQuery] Re: How to hide pop is blur

How to declare other thing? On 8月13日, 下午7時28分, Jon Banner wrote: > $('#show').click(function(){ >    $('#popup').fadeIn("slow", function(){ >       $(other things).click(function(){ >          $('#popup, #show').hide(); >       }); >   }); > > }); > > 2009/8/13 David .Wu > > > > > There is a bu

[jQuery] Script not recognizing class

Hey, I am absolutely puzzled and am hoping some of you may be able to help me: I have the following HTML: 1 2 3 4 5 and the following script: $("#imagenav a").click(function(){ if($(this).hasClass("notloaded")){ alert('clas

[jQuery] Re: Script not recognizing class

On Thu, Aug 13, 2009 at 1:18 PM, Simon wrote: >         class="notloaded">1 ... > What am I doing wrong? You are using multiple class="" declarations in your tags. You want instead: -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Script not recognizing class

That fixed it, thanks! I didn't realize that was how you declared multiple classes. Logical if you think about it (what with it being an attribute and all). Now I know. Simon On Aug 13, 1:20 pm, Brett Ritter wrote: > On Thu, Aug 13, 2009 at 1:18 PM, Simon wrote: > >         > class="notloaded

[jQuery] Re: Refresh DIV with full page refresh

bharani, Justin just provided a simple code to show you how to "refresh" the same content. It's up to you to decide "what" the new content is you want the div to be "refreshed" with is. How are you getting your "refreshed" content? Is it through AJAX? On Aug 12, 5:05 pm, bharani kumar wrote: >

[jQuery] [autocomplete] how to clear hidden "key" field when user changes text value?

Hi all, I'm using autocomplete plugin, when the user types something the backend responds value and key information (for instance: John|76178 Mike|87252 Peter|87511 Using .result I'm setting the key in a hidden field in my form. $('#autocompleteTextboxId').result(function(event, data, formatte

[jQuery] passing a value to popup, reading from db, & form validation

Hello, fellow jQ people! I have three questions about jQuery. 1) I have a web form in a jQuery popup. For that web form to function, I need to pass a value to it. Following code demonstrates how I am processing the form using jQuery: Code: $(document).ready(function(){ $(".addbutton").cli

[jQuery] [treeview] jquery 1.3.2 and treeview 1.4

Hi, I need to use treeview with jquery 1.3.2 and I found it was not working properly. I have since then submitted the bug report with a patch. You can see it at http://plugins.jquery.com/node/9332. Anyone can take a look? It'd be good if it's fixed one way or another. Regards, f.-

[jQuery] (Validation) Problem with "All or Nothing" fields

I have a form with a block of 4 fields (3 selects and a text input) that have to either be all left empty or all filled in. I'm new to jQuery, and the Validation plug-in, so I probably have missed something here. I've been through the documentation, and have tried a number of things to get this

[jQuery] Hello

Hi, I have this script here. Hope i can paste the code. Please click on the login tab on the right side. The issue is, the tab slides down as well as grows. Please help. It should only slide down, not grow. Please help me. toing Login

[jQuery] cross-domain ajax question

I'm working in a large corporate intranet and used jQuery to build a simple javascript include that developers can throw into their source (HTML, ASP classic, ASP.NET, etc). Everything worked fine until I started to deploy out to the servers. My "logging" app is on one server in the company and t

[jQuery] Input position in HTML

Hi, I'm making a dynamic div in a page but I'm having some doubts: -I have an input text field and i need to get it's position (left and top) to make the div appear near this input. $.(':INPUTNAME').css ('left') returns me zero like 'top' does. Is there a way to get left/top position from a static

[jQuery] Re: Hello

Hey guys, HELP ME . . . I am struck. . . On Thu, Aug 13, 2009 at 8:44 PM, Praveen Alvandi wrote: > Hi, > I have this script here. Hope i can paste the code. Please click on the > login tab on the right side. > The issue is, the tab slides down as well as grows. Please help. It should > only sli

[jQuery] Re: Best way to add attributes/extend element

Here's a link to the documentation on data(). http://docs.jquery.com/Core/data On Aug 13, 6:50 am, Brett Ritter wrote: > On Thu, Aug 13, 2009 at 12:44 PM, twooton wrote: > > When  you need for a certain element (say a text input box) to > > remember some data, what is the best way to do this? Ca

[jQuery] thumbnail changer

jquery: $(function() { $('.thumb').hover(function() { for (var i=1; i <= 4; i++) { setTimeout(function(){$(this).attr('src', '/thumbnail/1_' + i + '.jpg');}, i*100); } }, function() { $(this).attr('src', '/thumbnail/1_1.jpg'); }); }); html: fold

[jQuery] Call Jquery from Flash?

I've this function in my html page And in the same page Neck BUT i'd like to call that function from flash. How do I set up getURL to work with Thanks

[jQuery] text slider

Could somebody add to jquery text slider ? To scroll text using scrollbar ?

[jQuery] Click() Not Working

This doesn't work in IE or Firefox: $("td a.menu:contains('Main')").click(); This works in IE: $("td a.menu:contains('Main')")[0].click(); $("td a.menu:contains('Main')").length is 1 What am I doing wrong?

[jQuery] Re: Call Jquery from Flash?

Where does the Flash come into play here? This may help: http://blog.codefidelity.com/?p=15 On Aug 13, 9:29 am, mirkob wrote: > I've this function in my html page > > >