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 is important info, where row two has the break ou
t;this" would refer to the current div element which is
> being iterated.
>
> It's not easy to wrap your mind around it, it definitely takes some time and
> experimentation to see how it works.
>
> -- Josh
>
> - Original Message -
> From: "FrankTudor
ver them.
>
> Every javascript function runs within the context of some object -- at the
> highest level this is the window (global) object.
>
> To understand context and scoping better, I highly recommend checking out
> John Resig's book "Advanced JavaScript Techniques,&qu
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
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,
$(document).ready(function(){
$('.bang').hide();
$("a.collapse").toggle(function()
{
$('.bang').show();
$('a.collapse').remove("(-)").append("(+)");
},function(){
$('.bang').hide();
$('a.collapse').remove("(+)").append("(-)");
})
early
> > as powerful as TinyMCE. I don't think there's any particular reason
> > 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 PROTE
t, James (NIH/NIEHS) [C]"
<[EMAIL PROTECTED]> wrote:
> I'm working on something similar - can you post your HTML and jQuery
> code??
>
> Here's my
> thread:http://groups.google.com/group/jquery-en/browse_thread/thread/4c30c5ae19
> ce901c/d6be93a0dd4fc205?lnk=gs
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
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 thinki
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 do
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 s
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 co
Is there a place that I can see the math functions available?
Frank
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?
$(document).ready(function()
{
if($.browser.[safari, opera, mozilla])
{
$( fun
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?
$(document).ready(function
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 hav
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
to textarea...
> var s = $('select').serializeArray(), t = [];
> $.each(s,function(n,v){ t[t.length]=v.value; });
> $('textarea').val(t.join('\n'));
>
> FrankTudor wrote:
>
> > Hi all,
>
> > I am creating a little tool that has two mu
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
Often this occurs when the onclick event for a link does not return false,
> and then the browser loads the href, often # which moves 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 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. I
='right']").css({fontWeight: "bold"});
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of FrankTudor
> Sent: jeudi 13 septembre 2007 15:10
> To: jQuery (English)
> Subject: [jQuery] Simple append?
>
> Hi al
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:
$(document).ready(function(){
$('.comments').hide();
$('.attachments').hide()
Hi all,
I am very new to jQuery, but I need to construct a simple was to bold
everything inside a that looks like this
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 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