[jQuery] jQuery & Functions

2009-11-10 Thread Digital Evasion
Firstly hello everyone and apologies for breaking new ground in terms of simple idiot questions. Ok so I'm trouble doing something I would consider as simple with jquery. I have a form and i want to run a common function (that checks a bunch of inputs) that will be run when certain fields blur. wor

[jQuery] Re: Change image attribute based on variable

2009-02-26 Thread digital
= src_split.join("_on."); > > el.attr("src", new_src); > > > This way you can use firebug to step through your code and see which > > statement produces the error. > > > by(e) > > Stephan > > > 2009/2/25 digital : > > >>

[jQuery] Re: Change image attribute based on variable

2009-02-26 Thread digital
tr("src", new_src); > > This way you can use firebug to step through your code and see which > statement produces the error. > > by(e) > Stephan > > 2009/2/25 digital : > > > > > Hi, pulling my hair out here. > > > When the page loads I

[jQuery] Change image attribute based on variable

2009-02-25 Thread digital
Hi, pulling my hair out here. When the page loads I'm collecting a variable from the url which corresponds to the class of an image. I want to then change the image source. I'm doing this because the page doesn't reload and the menu needs to respond to the content if you get my meaning. $url = l

[jQuery] Re: Ignoring field within whole DIV

2007-09-30 Thread Digital Spaghetti
Sorry, I posted the wrong bit of code. My .ajaxLoad code is: $pastemonkey('#content').not($pastemonkey('#PasteTags') [0]).ajaxStart(function(){ $pastemonkey.blockUI(); }); On Sep 30, 4:57 pm, "Tane Piper" <[EMAIL PROTECTED]> wrote: > Hi there, > > I am running into a lit

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread digital spaghetti
hijackLinks($('.content')); }); return false; } }); } Hope that helps, Kelvin :) On Tue, 17 Apr 2007 11:02:07 +0100, digital spaghetti <[EMAIL PROTECTED]> wrote: > > Bahh, I've found a bug. In the code when I get type, I check to see > if type == "w

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread digital spaghetti
without doing a == selection on it? Tane On 4/17/07, digital spaghetti <[EMAIL PROTECTED]> wrote: Hi Sean, Thanks, that seems to have done the trick - although it broke the Tabs plugin I was using in my admin interface. I've created a workaround and this works perfectly: function hijac

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread digital spaghetti
Hi Sean, Thanks, that seems to have done the trick - although it broke the Tabs plugin I was using in my admin interface. I've created a workaround and this works perfectly: function hijackLinks(root) { $('a',root).click(function(){ var type = $(this).attr('class'); if (type ==

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread digital spaghetti
for the backend and I don't want to have to hard code anything into my views to make this work :/ Tane On 4/17/07, digital spaghetti <[EMAIL PROTECTED]> wrote: Hey folks, I've been working on this one with a little help, but i'm now stuck. I have an AJAX interface, whe

[jQuery] Problem with AJAX and links

2007-04-16 Thread digital spaghetti
Hey folks, I've been working on this one with a little help, but i'm now stuck. I have an AJAX interface, where I want all internal links to load content into a specific div called .content. The issue is it works, except for link in content thats loaded into the div. So far, here is what I ha

[jQuery] Webrocket: My new jQuery-powered CMS

2007-04-14 Thread digital spaghetti
Hey folks, Bit of a shameless plug here, but I'd like to announce to you my project - Webrocket. It's a CMS built on CakePHP, and using jQuery for all it's JavaScript. Currently it uses AJAX functions to load most of the pages. I've currently been working on this for a work project, however t