Re: [jQuery] Vaga para Desenvolvedor Client-side no Rio Grande do Sul
Ok Renatho, maybe you don't know yet but most people in this group don't speak this language. Even I understand every word you saying, you should post this in jquery-br google group to reach more potential readers. Em 5 de fevereiro de 2010 12:20, Renatho rena...@gmail.com escreveu: Em setembro de 2009 iniciou-se uma empresa - Grifo - com foco em desenvolvimento Client-side com o objetivo ter um reconhecimento em excelência de código. Busca-se profissionais com bons conhecimentos em SEO, acessibilidade, usabilidade e performance. Também consideramos profissionais com bastante interesse em aprender. Perfil de profissional: - Pessoas dedicadas; - Pessoas que se mantém atualizadas com novas tecnologias; - Pessoas sempre em busca de conhecimento; - Pessoas que querem o melhor para os projetos com os quais trabalham. Enviar currículo para renatho.r...@grifotecnologia.com.br -- At, Leo Balter http://blog.leobalter.net
Re: [jQuery] Re: jQuery 1.2.6 clone problem with internet explorer.
Try Google Closure Compiler http://code.google.com/intl/pt-BR/closure/compiler/ 2010/1/15 m.ugues m.ug...@gmail.com Ok this seems to work. How can i minify now the pathed version? Kind regards Massimo On Jan 14, 2:12 pm, Dave Methvin dave.meth...@gmail.com wrote: If you're really stuck, you could try copying the clone function from 1.3 into 1.2.6. -- At, Leo Balter http://leobalter.net Blog técnico: http://blog.leobalter.net
Re: [jQuery] Re: ANNOUNCE: new rev of credit card validation extension
Impressive, but I really tought it was another spam incomming by reading only the subject. 2010/1/13 dnfdrmn dbfeder...@gmail.com Terrific! Downloading and installing now. Very impressive plugin, btw! dnfdrmn On Jan 13, 12:29 pm, Jack Killpatrick j...@ihwy.com wrote: Hi All, We've released a new version of our jQuery Validation plugin credit card extension. Changes include: 1. updated card prefixes (including latest Discover Card changes) 2. support for LaserCard More info here: http://www.ihwy.com/labs/jquery-validate-credit-card-extension.aspx We have other lab stuff here, too: http://www.ihwy.com/labs/ - Jack -- At, Leo Balter http://leobalter.net Blog técnico: http://blog.leobalter.net
[jQuery] Unobtrusively passing data
I'm building a rails app and I've been trying to keep my html as unobtrusive as possible and my application.js as general as possible. Up until now I've been able to build re-usable page components by creating specific layout structure with the occasional custom attribute. Now I'm trying to integrate an autocomplete into my pages and am looking for a clean way to get data to the autocomplete component. Here's what I do... In my view html I create the form element for autocomplete with class='autocompleter' With javascript I add the data source to a global array that is indexed by element id. This lets me pass arrays etc. In my application.js I added the following function called from my ready function. var autocomplete_data = []; function load_autocompleters() { $(.autocompleted).each(function() { $(this).autocomplete(autocomplete_data[this.id], { matchContains: true, minChars: 0 }); }); } This works just fine, but is there a better way to do this?
[jQuery] Best Practices Style Guide
I am a fairly new adopter of jQuery, but a long time software developer. One of the things I really like about the jQuery approach is a mindset to keep implementations clean and maintainable. Having said that, it is easy enough to take the unobtrusive paradigm down the path towards unmaintainable systems without some good guidance. Several things can happen (in no particular order): 1 - application developers can load up one or more js include files with a lot of seemingly unrelated javascript. Finding the source gets hard to do. 2 - the developed jQuery javascript hides the intent of the application. i.e. When looking at the markup, you can't really understand what's going on. 3 - the developed jQuery javascript is hard to follow. It seems as though spaghetti code never goes out of style 4 - developers throw some stuff in markup, other stuff in include files without a clear purpose thereby confusing even themselves two months down the line. Sometimes it was expedient, other times necessary, other times it was poor understanding of the app, and yes, laziness too. I've seen some older writing by Yehuda that point the way, but it sure would be great if there was a wiki or something that provided a thorough treatment. If something already exists, it would be great to shine a brighter light on it (I haven't found it yet). If not, are there folks willing to get something together; the entire community would benefit?
[jQuery] Newbie - is there a better way to do this?
I hope someone can help a newbie out here... I've put some jQuery together to load part of my pages after my page is ready. It works fine, but I'm wondering if there is a better way. In my HTML I've got something like: div class='progressive' href='my uri path to load something'/div Then my javascript is like this: function load_progressives() { $(.progressive).each(function(n) { var wrapset = $(.progressive).slice(n) wrapset.load(wrapset.attr('href')) }); } $(function() { load_progressives(); }); I would have thought I could do this as a one-liner, but this is the best a newbie can figure out.
[jQuery] Re: Newbie - is there a better way to do this?
Thanks it works great! I had tried using this but missed that it should be $(this). On Oct 31, 11:45 am, Mike Alsup [EMAIL PROTECTED] wrote: Then my javascript is like this: function load_progressives() { $(.progressive).each(function(n) { var wrapset = $(.progressive).slice(n) wrapset.load(wrapset.attr('href')) }); } This should work: function load_progressives() { $(.progressive).each(function() { $(this).load(this.href); }); }
[jQuery] Re: Newbie - is there a better way to do this?
Actually, for some reason, I've had to use $(this).attr('href') instead of this.href. Is there some reason for this? On Oct 31, 1:03 pm, Leo [EMAIL PROTECTED] wrote: Thanks it works great! I had tried using this but missed that it should be $(this). On Oct 31, 11:45 am, Mike Alsup [EMAIL PROTECTED] wrote: Then my javascript is like this: function load_progressives() { $(.progressive).each(function(n) { var wrapset = $(.progressive).slice(n) wrapset.load(wrapset.attr('href')) }); } This should work: function load_progressives() { $(.progressive).each(function() { $(this).load(this.href); }); }
[jQuery] Re: Newbie - is there a better way to do this?
Makes sense, thanks. On Oct 31, 1:20 pm, MorningZ [EMAIL PROTECTED] wrote: Probably because href isn't a DOM standard property of a div On Oct 31, 1:13 pm, Leo [EMAIL PROTECTED] wrote: Actually, for some reason, I've had to use $(this).attr('href') instead of this.href. Is there some reason for this? On Oct 31, 1:03 pm, Leo [EMAIL PROTECTED] wrote: Thanks it works great! I had tried using this but missed that it should be $(this). On Oct 31, 11:45 am, Mike Alsup [EMAIL PROTECTED] wrote: Then my javascript is like this: function load_progressives() { $(.progressive).each(function(n) { var wrapset = $(.progressive).slice(n) wrapset.load(wrapset.attr('href')) }); } This should work: function load_progressives() { $(.progressive).each(function() { $(this).load(this.href); }); }