Hi all I have a simple hide/show function that doesn't seem to work
the way I want.
I need some theory help here.
Currently in my code I have a loop that iterates over a block of code
and builds a table.
I have a two row relationship.
Row one tr is important info, where row two tr has the
There is a concept I am struggling with and I am not sure how to
approach it. I am trying to understand:
.this
I don't know if an explanation or an example would be best. But I want
to understand it.
I have tried to read an explanation and it doesn't make sense.
Can someone help me?
Frank
) object.
To understand context and scoping better, I highly recommend checking out
John Resig's book Advanced JavaScript Techniques, it cleared up a lot of
confusion for me.
-- Josh
- Original Message -
From: FrankTudor [EMAIL PROTECTED]
To: jQuery (English) jquery-en
Message -
From: FrankTudor [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, November 29, 2007 11:32 AM
Subject: [jQuery] Re: Explaining this or .this or .this()
Frank
On Nov 29, 12:38 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
I'll give it a shot
script type=text/javascript
$(document).ready(function(){
$('.bang').hide();
$(a.collapse).toggle(function()
{
$('.bang').show();
$('a.collapse').remove((-)).append((+));
},function(){
$('.bang').hide();
Thanks for straighting that out.
Frank
On Nov 21, 12:49 pm, mdrisser [EMAIL PROTECTED] wrote:
The problem is that .remove() removes the actual element not the text
inside of it.
This works:
$(a.collapse).html((-));
On Nov 21, 10:35 am, FrankTudor [EMAIL PROTECTED] wrote:
script type
Hi all I am looking for a tinyMCE jquery equivalent (if one exists)...
Thanks,
Frank
Hi all, I an trying to create a simple hide/show toggle with jQuery,
but My content loops over a query and so when I test it it opens all
my table blocks (since they have Identical code duplicated to the
length of the records).
So then I got cleaver and created a variable that generates a random
/d6be93a0dd4fc205?lnk=gstq=hiding+checkbox#d6be93a0dd4fc205001
Jim
-Original Message-
From: FrankTudor [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 10:16 AM
To: jQuery (English)
Subject: [jQuery] hide/show (trying to prevent inline loop code)
Hi all, I an trying to create
why the two scripts wouldn't play nicely though, is there any
particular reason you want a jQuery based editor?
On Nov 19, 2:46 pm, FrankTudor [EMAIL PROTECTED] wrote:
Hi all I am looking for a tinyMCE jquery equivalent (if one exists)...
Thanks,
Frank
Here is a bit of code that on page load sets the alternating color of
a table.
Then there is a table sort tool that loads as well. The th (header)
clicks cause the nice alternating line colors to sort as well. So I
created this, which works perfect, but it looks clunky/repetitive..
I was
There might not be a solution for this out thiere, but I have thrown
tablesorter 2.0 on a table that has rows that are initially hidden.
Of course those hidden elements get sorted and end up at the bottom of
the table.
So I am wondering if table sorter can ignore every other row, or if
there is
Hi all, I have a table built dynamically (serverside). I have table
sorter on the table and when I sort it sorts the colors or the rows as
well. It is very irritating and I am not sure how to correct it.
I tried repopulating the class via jquery labeling each odd and even
but siince the page
Hi guys/gals,
Here is a snip of code I was testing for a part of my application.
It is very neat but doesn't meld well with my other session stuff.
Basically if you remove focus from the text box using blur(), it
submits the form and sets the Coldfusion variable.
Take a look and see if this
I have a jquery script that gives the user a prompt and a choice to
make sure they want to delete a value from a datasource.
Here is my code...
It prompts funny...and it goes ahead and processes anyways even if you
select cancel..
Can someone fix me up here?
script type=text/javascript
I have a tool that only operates under IE
So all other browser users get an alert here is my code...but it
doesn't work...
Can someone get me straightened out?
script
$(document).ready(function()
{
if($.browser.[safari, opera, mozilla])
{
Is there a place that I can see the math functions available?
Frank
As a user types in content to this this text field I would like tho
force the text to uppercase to as keys are pressed.
How would this be done?
and is toUpperCase a real jquery function? if not wbhat would be a
simple way to hndle this with either CSS or someother method...
Here is what I
Sooting for the moon here, but does anyone have a method for selecting
and dragging content from one list box to a second listbox?
Frank
can someone show me an example of creating a simple variable and
appending that variable to the document body?
Here is my simple example (that doesn't work)...
var GitRDone = smoke'n hot;
$GitRDone.appendTo('body');
Thanks,
Frank
; });
$('textarea').val(t.join('\n'));
FrankTudor wrote:
Hi all,
I am creating a little tool that has two multiple select boxes and
then a text area. I need to figure out how to take the selected
conets of one box, or the other, or both and pop them to the textarea
Hi all,
I am creating a little tool that has two multiple select boxes and
then a text area. I need to figure out how to take the selected
conets of one box, or the other, or both and pop them to the textarea.
If there are no examples can someone tell me what dom or events I need
to be looking
Hi all,
I am very new to jQuery, but I need to construct a simple was to bold
everything inside a td that looks like this
td align=right
I got the shell in place and the script is being pulled successfully I
just need to figure out how to append this condition.
Thanks,
Frank
Hi guys I have something that I am not sure how to figure out.
I have some jquery code that auto hides a section of text. then a
hyperlink to toggle showing or hiding the text.
Here is an example:
script type=text/javascript
$(document).ready(function(){
$('.comments').hide();
] On
Behalf Of FrankTudor
Sent: jeudi 13 septembre 2007 15:10
To: jQuery (English)
Subject: [jQuery] Simple append?
Hi all,
I am very new to jQuery, but I need to construct a simple was to bold
everything inside a td that looks like this
td align=right
I got the shell in place
Hi have a page that has some javascript events basically I have the
accordian effects in a page with repating data...It is fin until I get
close to the bottom of the screen and expand the page. Next thing I
know I am back up towards the top of the page and have to scroll down
to read the text.
the page to the
top. Is there a test page you can show us where this is happening for you?
On 9/13/07, FrankTudor [EMAIL PROTECTED] wrote:
Hi have a page that has some javascript events basically I have the
accordian effects in a page with repating data...It is fin until I get
close
Hi there is an example that I would like to use on a friends website.
Here is the link:
http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery
I am working with example b.
The think I am trying to do is to make it default collapesed instead
of expanded.
How would I do this?
Thanks,
Frank
28 matches
Mail list logo