What would be the correct method to create an array from the text
inside items?
Is below, the best method, or would it even work?
var array_test = $(#test li).text().makeArray();
Hi ,
I want to have the tree as default collapsed , what can be the way?
Thanks
yogesh
Thank you Ricardo.
I could do a callback but there are a number of different types of
things that get inserted so it's spread out across a number of
functions. And these will likely grow with time. I think what I'm
realizing is that what started as a "what would happen if I..." idea
has now turne
Just curious, why would you want to avoid document.write()?
-Hector
On Sat, Apr 4, 2009 at 9:49 PM, Ricardo wrote:
>
> If you want to avoid document.write, append should work just as well
> (the head element already exists):
>
> $('head').append('#mainimage
> { visibility:hidden }');
>
> On Apr
Hi,
Name:
Is it possible to tell apart focus event?
jQuery("#my_name").focus(function (evt) {
if( ??? ){
//execute this if focus was triggered by user clicking on the
text
field
}
else {
//execute this if focus was triggered b
Hi all.
I'm totally new to jQuery, but have been assured this is the place to
"do stuff".
I'm still trying to work through the most basic basics, but in the
meantime, hoping I can find an example of how to do this.
On a given web page, the user sees two side-by-side areas of text
(i.e. two colu
On Apr 5, 2:43 am, Joe wrote:
> I'm all for migrating to the jQuery.support() utility method, but
> there is not definitive test available to detect IE6 specifically. Do
> we have a consensus on this yet?
I think conditional comments are the best way to go, there are a
number of solutions. D
Hello,
I have a HTTP server that answers a CGI request with a never endind
ascii stream of data.
I would like to make a async ajax call to that CGI and process the
data as it arrives without having to wait endlessly for the end of the
reply.
So far I have got this:
$(function(){
var a
What do you want to do if you find a duper?
- remove the first?
- remove the second?
- something else?
what is the HTML like? your post is way too vague to really provide
some help
On Apr 5, 5:54 pm, "laredotorn...@zipmail.com"
wrote:
> Hi,
>
> I have a number of select menus on my page, eac
This worked! Thank you!
On Apr 5, 4:06 pm, "Michael Geary" wrote:
> To help troubleshoot, take jQuery out of the picture and replace your alert
> with:
>
> alert( this + " input[type='submit']" );
>
> That will make it clear what the problem is.
>
> Since concatenating "this" to a string doesn'
Awesome, glad I could help out.
twinskies...@gmail.com wrote:
Thank you for your help! I got it working! For future reference,
here's the CSS code I ended up using:
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
background:
Thank you for your help! I got it working! For future reference,
here's the CSS code I ended up using:
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
background: #1a2618;
outline:0;
}
.sf-menu li ul li:
Hi there Ian,
Your best bet would be to target your second level li and a's
specifically so that you end up with the default as you currently have
it but then also:
.sf-menu li ul li, .sf-menu li ul li a
{
background-color:#330; /* different from the top level */
}
You can of course
To help troubleshoot, take jQuery out of the picture and replace your alert
with:
alert( this + " input[type='submit']" );
That will make it clear what the problem is.
Since concatenating "this" to a string doesn't work, how do you fix it? Use
the second argument to the $ function:
$( selector
Hi,
Here's my Superfish menu:
[code]
De: "Nic Hubbard"
I am confused why the following is returning undefined:
alert($(this + " input[type='submit']").attr('id'));
Try the following:
Get rid of the blank space before input.
from: ... " input[type='submit'] ...
to: ... "input[type='submit'] ...
Regards,
Maurício
What do you mean by "wrap 'submit()' that is built in 'form object'" ?
Sorry I didn't understand )
kcis...@hotmail.com wrote:
>
>
> I guess you'd better wrap 'submit()' that is built in 'form object'.
> before the submit() is called, you should set the values.
>
>
>
> On 4월5일, 오후1시48분, d
I am confused why the following is returning undefined:
alert($(this + " input[type='submit']").attr('id'));
This is within the context of a plugin that I built. Removing the
this makes it correctly find the input, why I want to narrow the scope.
Hi,
I have a number of select menus on my page, each containing the same
list of options (values and text). What is the simplest way to check
that a value in one select menu is unique? My goal is to verify that
all menu values are unique.
Thanks, - Dave
Firefox has events for node insertion etc:
https://developer.mozilla.org/En/DOM_Events
but they are not available to IE, and can incur in significant
overhead for the page.
If you're in control of the whole app's code, couldn't you just add a
callback for when a widget is added?
On Apr 5, 2:08
You're still missing the point. You'll never be able to securely
detect a browser version with $.support, it's not meant for that. In
your case you still need *browser* detection (unless you figure out a
way of testing if transparent PNGs are supported or not):
if ($.browser.msie && $.browser.ver
I guess you'd better wrap 'submit()' that is built in 'form object'.
before the submit() is called, you should set the values.
On 4월5일, 오후1시48분, debussy007 wrote:
> Hi,
>
> In my submit() callback function, I want to set two new values in some
> hidden input fields right before the post data
We're drifting off-topic here, but I think you can escape the $ in
interpreted strings:
"This is some text with a php $var and some text with a dollar sign \
$epc in it"
On Apr 5, 4:02 pm, John H wrote:
> > Although not jquery related - I would suggest always using php
> > variables outsite a s
Hi all
I'm just getting started with jQuery, and trying to use the slideToggle
() function.
I have this working on a test page of my site.
On Firefox 3.0x, Safari, etc. this works great, looks great.
On IE7 (and older), the function works but with a major difference in
how the text is laid out
Thanks, T.J.
That looks like what I'm need to solve the issues.
I'll give it a whirl!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of T.J. Crowder
Sent: Sunday, April 05, 2009 1:07 PM
To: jQuery (English)
Subject: [jQuery] Re: I
> Although not jquery related - I would suggest always using php
> variables outsite a string and use single quotes.
> It enables proper syntax highlighting in editors and makes the code
> easier to read for you and any future developers.
I completely agree about concatenating variables in php st
What add-ons do you have installed in Firefox? And do you have a
public page we can test with our Firefox clients?
On Apr 4, 9:07 am, "bjorn.frant...@gmail.com"
wrote:
> I've seen this post now, but I can's see my problem mentioned there.
>
> My extension breaks the toolbar in Firefox if I hav
Hi,
In my submit() callback function, I want to set two new values in some
hidden input fields right before the post data is submitted, based on the
values the user inputs in some input fields.
However it seems already too late, the server will never have those values
unfortunately.
So I wonder
Good idea. That seems related to this:
http://groups.google.com/group/jquery-en/browse_frm/thread/b09b3cb98a2638eb/79d223033c3e32b3
On Sun, Apr 5, 2009 at 11:45 AM, Ido Schacham wrote:
>
> Hi,
>
> In case there is no matched result when using the autocomplete plugin,
> is there a way to show
On Apr 5, 12:49 pm, Bro wrote:
> I've got the same problem :(
>
> On 19 mar, 23:45, Steve wrote:
>
> > Hi all,
>
> > I am getting a Javascripterrorwhen using the media plugin (http://
> > plugins.jquery.com/project/media) in IE at the page:
>
> >http://www.bbhscanners.com/products/ngenuity/
>
> There's a lot more to the code (of course), but I selected what I
> thought was necessary--if you want, I could put my whole entire
> website into a zip file and send it to you.
You should give the anchors a 'block' display style:
#slideshow a { display: block }
If that doesn't work then ple
I've got the same problem :(
On 19 mar, 23:45, Steve wrote:
> Hi all,
>
> I am getting a Javascripterrorwhen using the media plugin (http://
> plugins.jquery.com/project/media) in IE at the page:
>
> http://www.bbhscanners.com/products/ngenuity/
>
> (works fine in FF and other browsers). The sc
Hello together,
I wanna use jCarousel as you can see it here http://www.dslproviderwechsel.de
in the header (the scrolling company logos).
Do you know the parameters for jCarousel to display the plugin as in
the example. Currently I have the following problems:
- the autoscroll function does no
I've got the same problem
What's the extra comma problem ?
On 31 mar, 23:16, Jacob wrote:
> I replied earlier that I had the same problem. I got my problem
> resolved - the issue was in my external function, which had the IE
> "extra comma" problem. Maybe there is a similar situation with your
Thanks Mike,
I was in Andy's situation and was able to use jQuery 1.3.1's live click
event to reload your Media plugin and get this situation to work.
Here's the final outcome:
http://www.similarsounds.com/?terms=mgmt
The YouTube movie thumbnails all function using code similar to Andy's. I
e
Hi,
In case there is no matched result when using the autocomplete plugin,
is there a way to show a 'no results' message to the user in the
results div, one that wouldn't be selectable and possibly in a
different style?
I've read the documentation and searched the forum for this issue but
couldn
Hi Rick,
> Question...I've begun to use named functions so that
> I can target them from multiple locations. Kind of like
> the old subroutines I programmed 29 years ago in BASIC.
>
> Is there a way to be able to target them besides using
> "onClick" and remaining unobtrusive?
> ...
> Using my t
Um, anyone . . . ? I kinda need help asap.
On Apr 1, 8:41 pm, yulucyhan2008 wrote:
> Hi! I'm really new to web building in general, so I'm guessing that
> this is a really newbie question, but I can't get thecycleplugin to
> work withanchor. I followed the example given
> fromhttp://www.mals
[SORRY!, this is a proper message, the first one i forgot to add a
topic]
hey all,
having a problem with treeview by Jörn Zaefferer.
I load the content from json, but i lose persistance of location. i
get the tree folded and i don't know what branch i'm on to.
i managed to fix this by pasting
I've tried multiple combinations of the $.support method's properties
and have had zero success with properly detecting IE6. Does IE6 have
a specific feature that IE7 and IE8 do not have?
On Apr 5, 6:21 am, akzhan wrote:
> Also I suppose that jQuery.support can add key handling browser mode.
>
Ricardo,
Good point, but it still doesn't answer the question for how to handle
applying say a png fix to IE6.
I can't simply say:
if (!$.support.leadingWhitespace)
{
// apply pngfix
}
Because this is for ALL IE versions. This is unacceptable. We still
need to know the version of IE and the
Hello to everybody,
following the instruction here
http://nettuts.com/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/
http://nettuts.com/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/
i was able to send form contents through ajax.
But how can you make this
Hello there!
I am trying to add an effect to the tabs from jquery UI. Like in the
'old' version:
http://stilbuero.de/jquery/tabs/
In the section I have:
In a scrips.js I have:
// Tabs
$('#tabs').tabs({ fx: { opacity: 'toggle' } });
How do I add an effect like 'blind' to my tabs?
Thanks in
Thanks for the info, Donny!
Perhaps as my coding technique advances with
jQuery and, especially AJAX, I'll find better ways
to streamline function use.
Question...I've begun to use named functions so that
I can target them from multiple locations. Kind of like
the old subroutines I programmed 2
Shouvik-S-Mazumdar wrote:
>
> hi ,
>
> well i have searched a lot for this , perhaps i am just unlucky enough not
> to hit the bulls eye , so i ask again in this forum ...
>
>
> Well i am using jquery for calling a remote function . I am also using the
> CODEIGNITER MVC . i write something
One more thing I forgot to add. I am not trying to add the ability to
move list items from one list to another, just reorder the items
within their own list.
Rick Faircloth wrote:
> Strange question, I know…and perhaps stranger coding, but…
> I’m trying to trigger a function with a text link and it works, but with the
> function coded as is, the link has to be clicked twice.
>
> I’d like to keep the function coded starting with “function
> ajaxCreateS
Excellent use of trigger to fire the function once on page load
> Yes, yes, you are correct. I am outputting the javascript from php,
> which was interpreting $epc because the inline string was wrapped in
> double quotes. I reversed everything (using double quotes internally)
> and now the varia
hi ,
well i have searched a lot for this , perhaps i am just unlucky enough not
to hit the bulls eye , so i ask again in this forum ...
Well i am using jquery for calling a remote function . I am also using the
CODEIGNITER MVC . i write something like this :
$.post("index.php/login/ajaxlo
hey all,
having a problem with treeview by Jörn Zaefferer.
I load the content from json, but i lose persistance of location. i
get the tree folded and i don't know what branch i'm on to.
i managed to fix this by pasting the location code in .async.js,
var sm = current.
Also I suppose that jQuery.support can add key handling browser mode.
WebKit, Mozilla and IE works different on key events.
On Apr 5, 8:45 am, Ricardo wrote:
> jQuery.support is for feature detection. The whole point of it is to
> avoid browser detection - which is still available via jQuery.br
Strange question, I know.and perhaps stranger coding, but.
I'm trying to trigger a function with a text link and it works, but with the
function coded as is, the link has to be clicked twice.
I'd like to keep the function coded starting with "function
ajaxCreateStoryTitle() {"
rather than
> Note that, clicking "More options", you can delete your posts.
Thanks Steve. I have removed the repeated posts.
> > I had to remove the dollar sign from $epc otherwise Firefox
> > reported "missing variable name".
>
> That doesn't sound right - there must have been something else causing that.
Yes, yes, you are correct. I am outputting the javascript from php,
which was interpreting $epc because the inline
54 matches
Mail list logo