Here's what I'm not getting about jQuery from a novice point of view.
Let's say I have this:
script type=text/javascript
$(document).ready(function() {
$(#switcherBtn).click(function(){
Bingo, that was it. Big time duh noob moment :)
On Jul 8, 4:50 pm, Carl Von Stetten [EMAIL PROTECTED] wrote:
kgosser,
Are you loading jQuery.js after your main.js file? If you are, try
loading jQuery first, as it must be present before using any of its
functions.
Carl
kgosser wrote
Hey all,
I'm looking for a jQuery plug-in that will help with formatting text
in a textarea. Something like Wordpress' or Gdoc's formatting bar.
Basically I want to be able to bold/italicize/etc. text for users
without them having to understand HTML.
Any direction to an existing plug-in would
:
http://plugins.jquery.com/search/node/wysiwyg+type%3Aproject_project
- Richard
On Tue, Sep 23, 2008 at 3:09 PM, kgosser [EMAIL PROTECTED] wrote:
Hey all,
I'm looking for a jQuery plug-in that will help with formatting text
in a textarea. Something like Wordpress' or Gdoc's formatting bar
Hey all,
I understand how hasClass() works, but I'm trying to figure out how to
use it to see if an element DOESN'T have a class. I want to check if
the class doesn't exist, and if not then I'll add it.
Do I use the older is() method?
Just looking for the best way. Thanks!
Hey all,
I'm using this sortable method: http://docs.jquery.com/UI/Sortables/sortable
Works perfect! I have one question though: When a certain action is
taken by the user, I want to reset the original order of the lis in
the list. I can't seem to figure out how to do that. Does anyone have
any
Bumpity bump. Any tips? Thanks in advance!
On Nov 14, 3:57 pm, kgosser [EMAIL PROTECTED] wrote:
Hey all,
I'm using this sortable method:http://docs.jquery.com/UI/Sortables/sortable
Works perfect! I have one question though: When a certain action is
taken by the user, I want to reset
Hey John,
I downloaded Superfish the other day and have been using it. It seems
like the right kind of tool for the project I'm tackling, and I'm
excited about it!
It's been working like a charm so far, but today, I began to start
evaluating it in IE6. I've ran into two very large issues:
(1)
Hello, pretty noob question here. I have this example:
div
form
div
labelExample/label
input type=text/
/div
/form
/div
Now let's say there's this jQuery:
$(input).click(function(){
$(this).parent(form).css(color,#F00);
});
My question: Does the
traversing like this:
$(this).parent.().parent().prev().prev().prev().children(p.example);
If you see what I'm getting at?
On Jan 28, 11:42 am, jay jay.ab...@gmail.com wrote:
http://docs.jquery.com/Traversing/closest
On Jan 28, 12:39 pm, kgosser kgos...@gmail.com wrote:
Hello, pretty noob
Hello all,
This is a beginner question, and may well be more of a JavaScript
answer than a jQuery answer. None the less, here is my example:
I'm using the ultra lightweight Rich Text Editor plugin (http://
batiste.dosimple.ch/blog/posts/2007-09-11-1/rich-text-editor-
jquery.html)
It is called
Hey all,
I've done some digging for a jQuery RSS feed plugin. Some good ones
out there.
jFeed:
http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin
Other: http://www.levelfield.com/rss.html
FeedReader:
Hey all,
Two quick questions for you. I couldn't find the answers while
searching... This would be a great thing to add to the jQuery FAQ, by
the way.
(1) Is it advisable to place a page's $(document).ready() stuff in an
external .js file?
I've been doing a lot of reading and research on
[mailto:jquery...@googlegroups.com] On
Behalf Of kgosser
Sent: Tuesday, April 14, 2009 10:28 AM
To: jQuery (English)
Subject: [jQuery] Should $(document).ready() be external? And should it be
placed at the bottom of the page?
Hey all,
Two quick questions for you. I couldn't find the answers while
Hey all,
Not really sure how to ask this, so I'm sorry if my title is mis-
leading. It is also why I wasn't able to find much searching, so I'm
sorry if it's answered already.
Basically, the code I inherited was this:
a
href=#drop
class=edit-link
onclick=
I think you've misunderstood my question.
I have two values that are only found in a loop in the HTML. They need
to be passed to the single function in the document.ready().
I can't set them in the JavaScript. I have to find them somehow in
the HTML. Whether I find them as hidden inputs or
-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of kgosser
Sent: Thursday, April 16, 2009 2:47 PM
To: jQuery (English)
Subject: [jQuery] passing more than 1 param via click()?
Hey all,
Not really sure how to ask this, so I'm sorry if my title is mis-
leading
that HTML code, is that right?
Then why can't you generate this as part of your HTML page:
script type=text/javascript
// initialize some variables here
/script
That *is* HTML code, isn't it?
-Mike
From: kgosser
I have two values that are only found in a loop in the HTML
Bump. I'm really looking for a solid tip here :). Thanks everyone.
On Apr 17, 9:48 am, kgosser kgos...@gmail.com wrote:
Here's a better example with HTML. See, I said it was hard to explain
in the first place :).
Ok, so basically think of this as a list of things where the HTML is
always
Been looking up why my .change() isn't working in IE6/7. Found some
good links online to explain that the .change() doesn't work in IE
until AFTER you click or tab away from the radio button or checkbox
for those browsers. Then, it was recommended to use .click() instead.
Ok, fair enough, but
Just curious if there is a best practice when choosing between
$(a).click(function(){
// stuff
return false;
});
and
$(a).click(function(){
// stuff
event.preventDefault();
});
to cancel out the href of an anchor when clicked.
Thanks in advance for the help.
e.preventDefault() and e.stopPropagation().
--John
On Mon, Apr 20, 2009 at 3:20 PM, kgosser kgos...@gmail.com wrote:
Just curious if there is a best practice when choosing between
$(a).click(function(){
// stuff
return false;
});
and
$(a).click(function(){
// stuff
Hey all,
I'm using the Timers plugin to do a count down timer. I like it a lot.
I would like to enhance my UI by having the numbering being counted
down transition from black to red as it gets closer to 0.
The jQuery UI demo for animate seems to be what I need, but what I'm
having trouble
Hey all,
I'm trying to do some animation designs. Basically where I'm stuck is
I have a bunch of things I want to do, but not until the duration of
the switchClass method is complete. Looking at the UI documentation
site, there doesn't appear to be a callback ability.
Anyone have any tips on
Hey all,
I saw this site a few months ago that was showing off a new plugin
which used the scrollTo tool to scroll through one screen shot. I
can't seem to find it with a Google search, and I forgot to save it to
my Delicious. Yikes!
I was wondering if this rings a bell for anyone and if you
bump. any thoughts?
On Dec 17 2009, 6:24 pm, kgosser kgos...@gmail.com wrote:
Hey all,
I saw this site a few months ago that was showing off a new plugin
which used the scrollTo tool to scroll through one screen shot. I
can't seem to find it with a Google search, and I forgot to save
26 matches
Mail list logo