[jQuery] Re: yav plugin could be use Jorn's approach

2007-09-13 Thread SeViR


I will not work in new features for jQuery.YAV because, I think that 
this plugin focusing to accesibility, easyful

and all my objectives are accomplished.

I am in contact with Jörn for to combine our efforts in his Form 
Validation plugin.


Web Specialist escribió:
Yav jquery 
plugin(http://letmehaveblog.blogspot.com/2007/08/easy-client-side-web-forms-validations.html) 
is a very nice form validation. Really! But I'll want to suggest Sevir 
to, if possible, use Jorn's approach separating messages and rules.


Yav works like:
id="username" title="Please write only alphanumeric characters, this field is required." 
 name="username">


and Jorn's Form Validation plugin works like:

rules: {
age_co_agen: { required: true },
raz_co_raz: { required: true },
...

messages: {
age_co_agen: "Please provide an agent",
raz_co_raz: "Please enter with raz ",
...


For me Jorn's looks better for maintenance and haves a very clear code.


Cheers 



--
Best Regards,
José Francisco Rives Lirola 

SeViR CW · Computer Design
http://www.sevir.org
 
Murcia - Spain




[jQuery] Vertical Tabs

2007-09-13 Thread Chango

Hi, i'm using Tabs Plugin in a vertical CSS style (left column).
i have:




us
News



News...



So what i need is that when a tab is selected that LINK/TAB sets his
position to top and the other under it.
 maybe wrapping the LI on a DIV...

 any help?
 thanks, sorry my english.



[jQuery] Javascript best practices

2007-09-13 Thread howa

More & more plugins are using CSS to style the layout, this is good,
but their didn't aware of if user browser don't know javascript, it is
useless to load the CSS, e.g. thickbox




can be better:



document.write('');




[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-13 Thread Rob Desbois
Thanks for the replies - it's not just .ready() though, it seems to be all
events. Without the ability to use one of addEventListener and attachEvent
jQuery can't bind events to anything, which makes it all a bit less useful
:-(

On 9/12/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
>
> I think you might be able to use John's modified version of Rhino that
> acts like a browser. Where it is I'm not sure but it wasn't that long ago
> that he wrote it.
>
> --
> Brandon Aaron
>
> On 9/12/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
> >
> > Hi Rob,
> >
> > .ready() won't work in Rhino since there is no page to wait if it's
> > ready.
> > Everything else should work just fine.
> >
> > ~Sean
> >
> > On 9/12/07, Rob Desbois <[EMAIL PROTECTED]> wrote:
> > >
> > > Ok I've enlightened myself a little: I tried it with jQuery 1.2 and
> > > discovered that the line number changed - it's not a line number in 
> > > httpUnit
> > > as I thought (understandably I think!) but in jQuery.
> > >
> > > In jQuery 1.2 it's line 1613 (but is reported as 1612), which is the
> > > else statement in this part of jQuery.event["add"]:
> > >
> > > // And bind the global event handler to the element
> > > > if (element.addEventListener )
> > > >element.addEventListener(type, handle, false);
> > > > else
> > > >element.attachEvent("on" + type, handle);
> > > >
> > >
> > > So neither addEventListener nor attachEvent are defined (I change the
> > > else to an else if to check attachEvent - it's undefined).
> > > Seeing as there's been a fair bit of mention of jQuery in Rhino on the
> > > list, I find it hard to believe jQuery won't work with it - so has anyone
> > > who's used Rhino with jQuery seen this, and can anyone help?
> > >
> > > thanks,
> > > --rob
> > >
> > > On 9/12/07, Rob Desbois < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I'm creating a Web app which uses jQuery, and am unit testing it
> > > > with HttpUnit which uses Rhino (the Mozilla JavaScript implementation).
> > > >
> > > > I'm having trouble with $(document).ready(...) causing the tests to
> > > > crash with this message:
> > > >
> > > > >alert("hi");
> > > > > });' failed: TypeError: undefined is not a function. (httpunit;
> > > > > line 1456))
> > > >
> > > >
> > > > The whole statement is this:
> > > >
> > > > > $(document).ready(function() {
> > > > >alert("hi");
> > > > > });
> > > > >
> > > >
> > > > Other basic checks are ok, e.g. $("#foo").focus() works perfectly.
> > > > Even if I only try to use .ready() after checking that is is
> > > > defined, I still get the same result:
> > > >
> > > > > if (typeof $(document).ready === 'function')
> > > > >
> > > >
> > > > I know this is likely to be a Rhino/HttpUnit problem but as I know
> > > > several people on this list are familiar with Rhino I wanted to know if
> > > > anyone's seen this or has any ideas?
> > > > I'm on:
> > > > jQuery 1.1.4
> > > > HttpUnit 1.6.2
> > > >
> > > > TIA,
> > > > --rob
> > > >
> > > > --
> > > > Rob Desbois
> > > > <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > > --
> > > Rob Desbois
> >
> >
> >
>


-- 
Rob Desbois


[jQuery] Re: jQuery 1.2 seems to break the Treeview plugin

2007-09-13 Thread Alexandre Plennevaux

Letter to His Majesty The King Pop, 

Your Majesty,

everyone has its view on development patterns. Your comments would be
acceptable if presented as constructive criticism, but your comments sound
as "looking down" on john's work (available to Your Majesty for free),
without the bare minimum of respect. If it's just not good enough for you,
then leave it. Otherwise, change your attitude or nobody will mind your
opinion anymore. This is not some defined, constraint use offline context we
are dealing with. This is not "a" software, this is the internet after all,
technologies (let alone internet browsers) change, evolve, most often thanks
to the work of people like John. 

Alexandre The Fool

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pops
Sent: jeudi 13 septembre 2007 6:16
To: jQuery (English)
Subject: [jQuery] Re: jQuery 1.2 seems to break the Treeview plugin




On Sep 12, 11:13 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> On 9/12/07, Pops <[EMAIL PROTECTED]> wrote:

> > IMO, whatever excuse there is, this pattern of showing a lack of 
> > backward compatibility, altered method behavior pattern with the 
> > updates is disturbing.
>
> Did you include the compatibility plugin? If it is using xpath, did 
> you include that plugin as well? This has been a great release, 
> especially in terms of easy upgrades! We care about backwards 
> compatibility and as always file size, that is why we provide a 
> compatibility plugin. This is a major point release and the changes in 
> 1.2 have been discussed in the general public for months. I don't see 
> the justification for your comments. I especially don't see a pattern of
disregard for backwards compatibility.

Well, I don't wish to get into a debate over this with you, but when I see
quite a # of 1.2 compatibility related postings here and in the developers
foruym, I think my concerns and comment is well justified.
Plus I've in development a very long time, I know a pattern when I see one.
I can understand its a delicate and sensitive issue with developers so I can
see what you are coming from too, but I take my comments very strongly and I
don't just "BLAB" without justification.

I will make a few comments:

1) The goal in most API is transparent plug and play,

2) Changing behavior of existing methods is a engineering TABOO - period.

3) If a compatibility module is required, and is considered important for 1
and 2, then this module should be transparent and MUST be part of the
package.  Not buried in release notes.

4) If a framework is in FLUX (not stable,. it should be CLEARLY labeled in
the web site) so that people do waste time with a package that isn't
considered ready for prime time by its author.

and so so. I am not speaking anything foriegn.  Any software engineer (a
REAL engineer) worth its salt clearly knows what I am talking about.

That said,  maybe jQuery simply isn't a candidate for our usage - not if its
going to be constantly changing and I just got some real disturbing email
that prettty confirms jQuery is not ready for prime
time.   Now will I blog about this?  Maybe, maybe not. I don't like to
waste time and it really doesn't concern me if thats the path its going to
take.  It isn't personal. Its business.  But I just  wish I would of known
this early on.  Sure, I'm was here - about 1 month now.
So of course, I was not privy to older discussions.But I am not far off
course, when people explore an API and do not naturally presume that "things
are expected to change" at the levels I am seeing them change.  Not many
people will presume this approach but then again, maybe that is how it is in
the open source world.

Ciao

--
HLS

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.485 / Base de données virus: 269.13.16/1004 - Date: 12/09/2007
17:22
 



[jQuery] Re: $.ajax correctly works in all browsers except opera 8.5

2007-09-13 Thread Gordon

I believe Opera 9 is considered the minimum requirement for jQuery.

On Sep 13, 1:42 am, Equand <[EMAIL PROTECTED]> wrote:
> in this sitehttp://jppromo.ru
> ajax works completely on all browsers except opera 8.5
> and it seems i can't find the source of a problem... i thought maybe
> opera 8.5 talks differently to href, but that's not the case... any
> clues? i think it's something simple for more experienced in opera
> works devs



[jQuery] Re: Why is jQuery so slow?

2007-09-13 Thread Gordon

Build your table offline by creating an array and push() new segments
into it.  Finish by hoin()ing the array and injecting the result into
the HTML.

On Sep 13, 2:44 am, David Cramer <[EMAIL PROTECTED]> wrote:
> http://dpaste.com/hold/19433/
>
> I hadn't noticed this until someone actually loaded up a dataset of 1k
> entries today and it made the browser croak.
>
> Firefox:
>
> DOM Creation Test
>
> * jQuery: 1.323
> * Normal: 0.128
>
> DOM Creation Test (with vars assigned)
>
> * jQuery: 1.026
> * Normal: 0.128
>
> Safari 3:
>
> DOM Creation Test
>
> jQuery: 0.333
> Normal: 0.016
> DOM Creation Test (with vars assigned)
>
> jQuery: 0.334
> Normal: 0.016
>
> Is there any reason its so much slower to use jQuery for DOM
> manipulation?



[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread linuja
sorry, i forget show the code. here it is:


http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

http://www.w3.org/1999/xhtml";>





$(function(){
$('div.div1').click(function(){
alert('here');
}).clone(true).show().insertAfter($('div.div1'));

});




div



when click the div, it should alert "here".
This code works in FF and Opera. But it doesn't work in ie(both ie6 and
ie7).

Thanks

On 9/12/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
>
> Could you post an example of the issue? BTW ... It only copies events
> bound with jQuery.
>
> --
> Brandon Aaron
>
> On 9/11/07, linuja < [EMAIL PROTECTED]> wrote:
> >
> > jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)
>
>
>


[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Theodore Ni
Put your mouse over the image and see how long it takes before it vibrates
off :-)

I noticed that the setTimeouts aren't canceled. Is that intentional to get
more vibration?

On 9/12/07, JFSIII <[EMAIL PROTECTED]> wrote:
>
>
>
> > A fun plugin, with very few real world use cases.
>
>   The quote and the work are both hysterical.
>
> John
> On Sep 12, 6:44 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> > Ben Nadel and I were playing with his latest experiment.  Results:  A
> fun
> > plugin, with very few real world use cases
> .http://www.commadot.com/jquery/vibrateCompare.php
> >
> > Enjoy!  Thanks Ben!
> >
> > Glen
>
>


-- 
Ted


[jQuery] Re: Waiting for Ajax Response

2007-09-13 Thread Theodore Ni
Perhaps you meant your options to be:

$.ajax({
type: "POST",
url: "adddata.php",
dataType: "html",
data: name+"="+entry,
success: function(msg) {
$('#'+holder).html(msg);
}
});

On 9/12/07, atomicnuke <[EMAIL PROTECTED]> wrote:
>
>
> I have a small function outside of the onload method of the rest, so
> it'll only be loaded for a specific page.
>
> $('#apost :text').change(function(){
> var entry = $(this).val();
> var name = $(this).attr("id");
> var holder = name+"holder";
> $('#'+name).val('');
> $.ajax({
> type: "POST",
> url: "adddata.php",
> type: "html",
> data: name+"="+entry,
> success: function(msg) {
> $('#'+holder).html(msg);
> }
> });
> });
>
> The adddata.php file is in the same directory as the page requesting
> it. I tested the adddata page by itself and it behaves as it should.
> Also used an alert to make sure the variables are being set correctly.
> When I enter the data it clears as should, but the response is never
> inserted. I look in Firebug and the header just says Loading... Other
> Ajax requests work fine.
>
>


-- 
Ted


[jQuery] Re: "No such interface supported" error in Internet Explorer

2007-09-13 Thread Theodore Ni
You are getting "error" because the parameter you use, the err parameter, is
a simple status indicator that gets set to a few general values like
timeout, success, or error.

In your case, use the function(xhr,err,e) function and try to print out
e.name and e.message

On 9/12/07, 0xCAFE <[EMAIL PROTECTED]> wrote:
>
>
> Here's what I tried.
>
> I have copied the code from my page and cleaned it up so I only have
> one form field and my ajax call.
>
> Here is the code :
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
>   
> 
> Simple IE Ajax Test
>
>  
> 
> 
>
> 
> 
> 
> 
> 
>
>   
>
>
>   
> Simple IE Ajax Test
>
>class="uniForm">
>
>   
> Login Information
>
> 
>
>   * Username
>size="20" maxlength="25" type="text"/>
>   
> 
>   
>   
> Note: At least 6 characters long.Only letters,
> numbers, _ and .
>   
>
> 
>
>   
>
>   
>   
>
>   
> 
>
> As you can see, it's pretty simple now.  In FF it works fine, no
> errors.  However, in IE I get the error: function part executed and
> the msg value is "error".
>
> My questions :
>
> 1) Am I doing the error: function() part correctly ?
> 2) How can I catch the real exception error message (something that
> will help me get somewhere) ?  I tried with the error:
> function(xhr,err,e)  syntax and always get the "error" message in IE.
>
> Thanks for your help !!!
> 0xCAFE
>
>


-- 
Ted


[jQuery] Re: Getting parsererror calling XML

2007-09-13 Thread Theodore Ni
This could be because your server is not sending the correct mime type of
XML documents. If you are serving a server-side page as XML, you must use
the server-side language features to set the Content-Type header. If you are
just serving .xml pages, make sure the server is sending the correct
text/xml mime type:

http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types#How_to_set_up_your_server_to_send_the_correct_MIME_types

On 9/12/07, kalath <[EMAIL PROTECTED]> wrote:
>
>
> Hey there -- first post on the board, but I see a lot of great and
> talented folks on here. Looking forward to interacting with all of you
> and I hope I get some knowledge transfer just from association... :-)
>
> I've been working on grabbing an XML doc using $.ajax. When I was
> working on it locally, it would work fine in Firefox and not in IE.
> And now when I put it up on an internal dev server I'm getting a
> parsererror for both browsers.
>
> When I use overrideMimeType in Firefox, the issue goes away, but of
> course still chokes in IE since it doesn't support that method. I've
> set dataType in the $.ajax call to xml but it still seems to fail on
> me.
>
> >From what I can see, I'm able to open the XML doc in browsers just
> fine. It isn't malformed. It must have something to do with the MIME
> type since overriding it in Firefox works okay. I'm just not sure how
> this is possible to do in IE.
>
> Is there something I'm missing here? Let me know if you want me to
> post any code, but I thought I'd just ask generally before getting
> into the nitty gritty of things.
>
> P.S. I'm not using the metadata plugin either...just the new jquery
> xpath plugin and taconite.
>
>


-- 
Ted


[jQuery] Text manipulation on a menu

2007-09-13 Thread dogslife

I'm using a vertical menu and trying to add a text arrow ">" to the
menu item if it's on level 1 or 2, but not level 3. The following code
works, but it just keeps appending after each hover event. What's the
best way to do this kind of manipulation?

Thanks.

jQuery
---
$("ul.nav li a").hover(function() {
$(this).append(" 〉");
});

HTML


Level 1


Level 2

Level 3








[jQuery] Re: charset question

2007-09-13 Thread Guoliang Cao

Game data are created by various legacy programs. Most of them are
saved in OS's default encoding method. No one is going to take the
effort to convert them to utf8.

On Sep 12, 8:59 pm, Equand <[EMAIL PROTECTED]> wrote:
> why not utf-8?
>
> On Sep 12, 4:46 am, Guoliang Cao <[EMAIL PROTECTED]> wrote:
>
> > Sorry for resurrecting this post. But I only get a chance to look at
> > this problem recently again.
>
> > I'm hosting my library and game data files on a apache server. Is it
> > possible to customize ajax request to set request header to accept
> > GB2312 so that the server will only be serving data files using that
> > charset? How?
>
> > Thank you.
> > Guoliang
>
> > On Jul 5, 11:36 pm, Rhapidophyllum <[EMAIL PROTECTED]> wrote:
>
> > > I think you don't have to change the entire server setting, but header
> > > information in your individual server responses should be set to gb.
>
> > > On Jul 4, 2007, at 11:29 AM, Guoliang Cao wrote:
>
> > > > Hi,
>
> > > > I'm using jQuery 1.1.3 in my AJAX-based game viewer. I download game
> > > > data through ajax calls. Game data are mostly encoded in gb2312. I
> > > > currently have a problem: if I don't change the server side setting to
> > > > send data in gb2312 format, I got unreadable characters on client
> > > > side. Is it possible to setencoding/charset when I make an ajax call?
> > > > The reason I don't like to change server side setting is I want to
> > > > minimize the effort of installing my application to any web site.
>
> > > > For those who are interested, here is my game viewer:
> > > >http://www.daoqigame.com/jsgameviewer/index1.html
>
> > > > Thank you.
>
> > > > Guoliang



[jQuery] Re: Faster then innerHTML

2007-09-13 Thread Steve L.

John, I slapped this modified version of my test page together in a
couple minutes:

http://stevenlevithan.com/demo/replaceHtml_jQuery.html

jQuery.html() seems to perform pretty terribly, to be honest. The
15,000 element "destroy & create" test in IE7, for example, is over
500 times slower than replaceHtml (around 104141ms vs. 203ms). Am I
doing something wrong? (I've never used jQuery before, so I apologize
if I'm making some stupid mistake.)

--Steven Levithan


On Sep 12, 3:16 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
> You're in luck! jQuery already pre-empties an element inside .html().
> Calling .html() actually does:
>   .empty().append("html string");
>
> Although, there's a lot of other issues at play inside .append() in
> order to make it work cross browser, so those innerHTML benefits have
> probably be nullified in the meantime.
>
> --John
>
> On 9/12/07, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
>
>
>
> >  Here is an interesting blog post that I came across:
>
> >http://blog.stevenlevithan.com/archives/faster-than-innerhtml
>
> >  The synopsis basically is that one can gain dramatic speed improvements on
> > setting innerHTML when removing items that are going to be overwritten using
> > DOM methods before inserting stuff via innerHTML.
>
> >  I could see how this would be a need addition to jQuery.
>
> >  -- Felix
> > PS: If you like regex make sure to subscribe to this guys blog, he has some
> > mad skills going on.
> >  --
> >  My Blog:http://www.thinkingphp.org
> >  My Business:http://www.fg-webdesign.de



[jQuery] Re: Help for super dummy newbie

2007-09-13 Thread Theodore Ni
Also feel free to post snippets and use http://pastebin.com/ if you need.
It's usually better to post queries on the board, where there are many
talented people instead of limiting yourself to one talented person :-)

On 9/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>
> I have a whole mess of examples here:
> http://www.commadot.com/jquery
> They are single-serving scoops.  Each one does one small thing.
>
> Do you have a place you can post examples that you work on?
> If you do then it's easy for us to look at them and help troubleshoot.
>
> Glen
>
> On 9/12/07, Lorenzo Jimenez <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi to all.
> >
> > I went to jquery web and tried the first tutorial, and I cannot make
> > it work.
> >
> > Can anyone help this SDN person, aka me, and include in the reply a
> > complete web page example so I can begin working with it?
> >
> > Thanks very very much.
> >
> > Regards,
> > Lorenzo
> >
> >
>


-- 
Ted


[jQuery] Yahoo Slider Plugin

2007-09-13 Thread MSQUARE

Hello Friends,

I have seen Slider in the frontpage of Yahoo Answer. I am to add that
in one of the Client Website while creating that I thought of creating
the plugin. So I have createad one yahoo Slider Plugin in Animation
and Effects Category. So I need to discuss before developing the
slider.

Facilities
- Play, Pause, Nextm Previous Buttons
- Content Type : Html
- Slide Ticker

Regards
MALAY MAJITHIA



[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread mrsheep

yes, i tried that but i need to have "breakable" spaces so that the
text jumps to the next line if there is no enough horizontal space in
the div.

On Sep 12, 11:46 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> I have you tried appending a   instead of a blank space?  I can only
> imagine the the blank space is being trimmed at some point.
>
> On 9/12/07, mrsheep <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > hi, i'm trying to load tags into a tagcloud dynamically doing
> > something like:
>
> > ...
> > 
> > 
>
> > tags= ["first", "second", "third"];
> > $.each (tags, function (i, textval) {
> > var newTag= $("").text(textval).attr ("tagId", i);
> > newTag.addClass ("tag");
> > $("#tagcloud").append(newTag).append(" ");
> > });
>
> > and that works fine in ff and opera but in ie (6-7) the tags appear
> > without spaces in between ('firstsecondthird').
> > any suggestion?
>
> --
> Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com



[jQuery] Re: Waiting for Ajax Response

2007-09-13 Thread Theodore Ni

I responded through email, but it didn't seem to get through.

Perhaps you meant your options to be:

$.ajax({
type: "POST",
url: "adddata.php",
dataType: "html",
data: name+"="+entry,
success: function(msg) {
$('#'+holder).html(msg);
}
});

- Show quoted text -
On 9/12/07, atomicnuke <[EMAIL PROTECTED]> wrote:


I have a small function outside of the onload method of the rest,
so
it'll only be loaded for a specific page.

$('#apost :text').change(function(){
var entry = $(this).val();
var name = $(this).attr("id");
var holder = name+"holder";
$('#'+name).val('');
$.ajax({
type: "POST",
url: "adddata.php",
type: "html",
data: name+"="+entry,
success: function(msg) {
$('#'+holder).html(msg);
}
});
});

The adddata.php file is in the same directory as the page
requesting
it. I tested the adddata page by itself and it behaves as it
should.
Also used an alert to make sure the variables are being set
correctly.
When I enter the data it clears as should, but the response is
never
inserted. I look in Firebug and the header just says Loading...
Other
Ajax requests work fine.




--
Ted

On Sep 12, 11:15 pm, atomicnuke <[EMAIL PROTECTED]> wrote:
> Yeah, the response isn't being inserted using the $
> ('#'+holder).html(msg); Usually firebug will tell me file not found or
> error from the file, but I'm getting nothing. I'll try your approach,
> see what happens.



[jQuery] Re: Help for super dummy newbie

2007-09-13 Thread Saidur

Hi , i am also a new bie. I am also looking for the tutorial. This is
a very good tutorial . Can you add some ajax application here. And can
you make a zip file to download all the example.

Thanks
Saidur

On Sep 13, 8:14 am, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> I have a whole mess of examples here:http://www.commadot.com/jquery
> They are single-serving scoops.  Each one does one small thing.
>
> Do you have a place you can post examples that you work on?
> If you do then it's easy for us to look at them and help troubleshoot.
>
> Glen
>
> On 9/12/07, Lorenzo Jimenez <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi to all.
>
> > I went to jquery web and tried the first tutorial, and I cannot make
> > it work.
>
> > Can anyone help this SDN person, aka me, and include in the reply a
> > complete web page example so I can begin working with it?
>
> > Thanks very very much.
>
> > Regards,
> > Lorenzo



[jQuery] BUG ? cannot detect the id with ":"

2007-09-13 Thread Adwin Wijaya

Hi :)

I am glad you are reache version 1.2 :) that's awesome .. but I would
like to report the bug,
it seems the jquery 1.2 (and before) still couldnt detect the id with
":" for example

  

this code usually generated by those who using netbeans + visual
webpack. they generated silly id like that .. but it works very well
using prototype :)

adwin



[jQuery] Re: BUG ? cannot detect the id with ":"

2007-09-13 Thread Sam Collett

You have to escape with \\

$("#this\\:is\\:only\\:example");

On Sep 13, 9:42 am, Adwin  Wijaya <[EMAIL PROTECTED]> wrote:
> Hi :)
>
> I am glad you are reache version 1.2 :) that's awesome .. but I would
> like to report the bug,
> it seems the jquery 1.2 (and before) still couldnt detect the id with
> ":" for example
>
>   
>
> this code usually generated by those who using netbeans + visual
> webpack. they generated silly id like that .. but it works very well
> using prototype :)
>
> adwin



[jQuery] Re: Javascript best practices

2007-09-13 Thread Christof Donat

Hi,

> More & more plugins are using CSS to style the layout, this is good,
> but their didn't aware of if user browser don't know javascript, it is
> useless to load the CSS, e.g. thickbox
>
>  script>
> 
>
> can be better:
>
>