[jQuery] Re: changing the selected option in a select

2008-02-08 Thread Charles K. Clarkson
rolfsf wrote: : this didn't work (as well as several other variations): : $('a.cancel').click( function(){ : $('select option[value=0]').attr(selected,selected); : }); : : can someone clue me in? $('a.cancel').click( function(){ $('select').val('--'); }); HTH, Charles K

[jQuery] Re: Thickbox Alternative that Works with jQuery

2008-02-07 Thread Charles K. Clarkson
Andy Matthews wrote: : If you like Thickbox, why are you looking for something different? The grass is always greener on the other side of the browser. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: Computing value for css key

2008-02-06 Thread Charles K. Clarkson
praxis wrote: : $(div#lt).css(left, eval(parseInt($ : (div#content).css(left))-24)); : : The problem is, I can't get it to happen. (div#content).css(left) may be returning auto instead of a dimension. Can you provide an example page that illustrates the problem? HTH, Charles K. Clarkson

[jQuery] Re: Problems appending inputs with quotes in the value

2008-02-06 Thread Charles K. Clarkson
type=text name=foo value=\'Quote - \This is a quote\\' /'); But that looks mighty ugly. You could change the quoted quotes to an html entity. $('form').append('input type=text name=foo value=Quote - #34;This is a quote#34; /'); HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market

[jQuery] Re: Accessing un-parented text inside a known object

2008-02-06 Thread Charles K. Clarkson
sparkpool wrote: : This finds span.bar, as I expected, but not what I want: : jQuery('#zzz :first') $('#foo').contents().get(0) .contents() is used to get childNodes. http://docs.jquery.com/Traversing/contents HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market

[jQuery] Re: getting the ID number of a cloned table row

2008-02-05 Thread Charles K. Clarkson
}); // Add to the new row to the original table $( #myTable).append( clonedRow ); So, for now, you may need another solution besides clone(). HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: New to jquery. Things just don't work.

2008-02-03 Thread Charles K. Clarkson
Sathya wrote: : ${'a'}.click(function() { That should be: $('a').click(function() { HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Is it possible to auto increment an appended value?

2008-02-02 Thread Charles K. Clarkson
or just check the value after each increment. I tend to lean toward objects, but they tend to take more time to write. Knowing the context of the limitation (or cap) would help a lot. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: can't access any plugins from within function

2008-02-01 Thread Charles K. Clarkson
of the problem? Perhaps a link to your app? HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: Not a plugin but code for anyone trying to have collapse-able menu with cookies

2008-01-31 Thread Charles K. Clarkson
on my test page. The top menu is the same on both pages while the bottom one on each page use different cookies. http://www.clarksonenergyhomes.com/demos/jq/cookie-menu.html HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: attr ie bug

2008-01-31 Thread Charles K. Clarkson
) || $ : (this).hasClass(external) || $(this).hasClass(zip)){ : $(this).attr(target,_blank); : } : }); : : it works fine in firefox but not with ie which throws a javascript : error i can't identify. It works on IE6 on windows XP. HTH, Charles K. Clarkson

[jQuery] Re: Fighting a closure

2008-01-31 Thread Charles K. Clarkson
K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: Interface Plugin for Jquery

2008-01-31 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : I start getting errors in my firefoy error console. : Can someone please tell how can i solve this problem . What errors are you getting? HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: IE7 it does't work (bug?)

2008-01-29 Thread Charles K. Clarkson
=/site/images/people/mike_butler.jpg /body /html HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: jquery VS internet explorer

2008-01-29 Thread Charles K. Clarkson
] HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: Superfish problem with IE7

2008-01-28 Thread Charles K. Clarkson
. This process is an old program debugging technique. Get down to something that works, and then slowly heap the frills on until you find the error again. For simple problems, the last thing you added on is the most likely culprit. It's a tedious process, but it gets the job done. HTH, Charles K

[jQuery] RE: Is it possible to auto increment an appended value?

2008-01-28 Thread Charles K. Clarkson
+= ' value=\?php echo $listcreate-' + padded_counter; extrafield += '-EditValue ?\/td/tr'; HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-27 Thread Charles K. Clarkson
are in the Twilight Zone. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: Is it possible to auto increment an appended value?

2008-01-27 Thread Charles K. Clarkson
table id=fields/table /body HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-26 Thread Charles K. Clarkson
, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: tabs display IE versus Firefox

2008-01-24 Thread Charles K. Clarkson
titleSoutheastern Equity Center/title I tested your page with the above doctype/character encoding and corrected some of the link tags and got back to the blue (#27537a) tab color in IE 6. I suspect the problem is a Quirks mode problem. HTH, Charles K. Clarkson -- Mobile Homes Specialist

[jQuery] Re: simplier, more unobtrusiv?

2008-01-24 Thread Charles K. Clarkson
of the actual mark up you are using? HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: Selecting listboxes that are in a table

2008-01-24 Thread Charles K. Clarkson
MorningZ wrote: : Shouldn't : :: $(#ColumnEdit select) : : Provide me a jQuery array of those select boxes? No. $(#ColumnEdit select) should. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http

[jQuery] Re: Adding CSS-property therefore traveling the DOM - Problem.

2008-01-23 Thread Charles K. Clarkson
', '' ); } ); HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/