Hello!
If you copy paste the embed-code from a YouTube-Video like this:
the tag is missing its classid-attribute and will therefore
be ignored by IE. Now I have the sitaution that I need to alter the
parameters of the object but cannot as IE will simply ignore them.
I'd like to do sth like t
Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and
it returned inline in both cases.
On Mar 1, 6:31 pm, sliver wrote:
> Im not sure if this is intended, but it leads to some unexpected
> results:
>
> console.log($('').css('display')); --> 'block'
>
> According to W3, span's d
Hello!
I am doing the following in order to remove those new YouTube-
Headlines on a blog:
$(document).ready(function(){
$('param').each(function(){
var oldname = $(this).attr('value');
var check = oldname.search(/youtube.+/);
if (check != -1){
var showi
Sorry I think it has to be:
$('.page:visible').hide().prev('.page').show();
and
$('.page:visible').hide().next('.page').show();
Or is the second class selection not necessary?
On Feb 26, 8:33 pm, Frederik Ring wrote:
> Why don't you just
Why don't you just do it like:
$('#prev').css('cursor','pointer').click(function(){
$('.page:visible').hide().prev().show();
}
Same with next.
$('#next').css('cursor','pointer').click(function(){
$('.page:visible').hide().next().show();
}
You will pro
On Feb 26, 5:43 pm, Doug C wrote:
> I wr
Just use "$('#id').show(speed);" and "$('#id').hide(speed);"
See: http://docs.jquery.com/Effects/show#speedcallback
unction(){
>
> if(jQuery('.zonelocation[]').attr('checked') == 'checked'){
> zonelocationVal = true;
> }
> });
> /*/
>
> What Iam doing wrong?
>
> Thank
Also remove the else-part of the attribute checking, this way it'll
only return true if the last element is checked.
On Feb 25, 11:41 am, Frederik Ring wrote:
> 2 things: you are referring to multiple checkboxes, but do that with
> an ID (#zonelocation). That will not work. Use a cl
/
>
> Problem is that, if I select atleast one record, even then
> 'zonelocationVal' is always false.
>
> Can you guide me , how to solve this problem.
>
> Thanks in advance
>
> On Feb 25, 2:04 pm, Frederik Ring wrote:
>
You could do sth like:
var ok = false;
$('.elementInListbox').each(function(){
if ($(this).attr('checked') == checked){ok = true);}
});
You will have to set your attributes according to the type of your
elements though.
On Feb 25, 9:55 am, Bluesapphire wrote:
> Hi!
> How can i check that
Are you using a plugin or are you trying to do oit by yourself?
In case you are doing it by yourself this thread might help:
http://groups.google.com/group/jquery-en/browse_thread/thread/6902e3e091ec9e4b/f8a135f66d533265#f8a135f66d533265
Works both with selected text and no selection (cursor).
On
By the way (although I do not think it causes the problem) you are
missing a ">'" there.
Should be:
$('').appendTo("#table");
instead.
On Feb 23, 9:07 pm, Frederik Ring wrote:
> Usually you should be able do what you are trying to do. To me it
&g
Usually you should be able do what you are trying to do. To me it
sounds as if you are trying to select the dynamically created content
before you created it (on $(document).ready for example). How and when
are trying to get the $('img')-selection?
On Feb 23, 8:55 pm, Petar wrote:
> I'm creating
This should be working:
$('a#woof').click(function(e){
e.preventDefault();
//do ajax form
});
Or you could set all href attributes to '#' before adding the click
function
Ok, so now I think I get what you want to do - I was running around
wondering why you had the preventDefault() in there.
In your case the click event isn't bound to the but to your
#wiki_article_list since you are chaining it after the append().
If you would do it like:
$( '#wiki_article_list'
I don't know what else is contained in your #wiki_article_list, but
since you appended the just right before this should work:
$(this).children('li:last').children('a').attr('href')
Because this in your context refers to the #wiki_article_list
Refer to the a as a descendant of $(this) instead
On Feb 22, 9:34 pm, hybris77 wrote:
> can anyone help me to get the href attribute to send off with the
> function in this code please
>
> $("Item", xmlData).each(function(){
>
end);
var replace = '' + sel + '';
textarea.value = textarea.value.substring(0,start) + replace +
textarea.value.substring(end,len);
}
On Feb 22, 7:11 pm, Frederik Ring wrote:
> Hello!
>
> I don't know if this is a 100% jQuery-specific question, but here's
&
Hello!
I don't know if this is a 100% jQuery-specific question, but here's
what I'd like to do: I'd like to add a hyperlink-functionality to a
textarea, so basically I'd just like to wrap a "" in plain text around the currently selected range in a textfield
using the URL specified in a dialog win
When you have two sortable lists, there's a 'connectWith' option in
the $(this).sortable()-command that lets you drag items from one list
to the other. You can also specify callbacks for the removal and
receiving of list items via remove:function and receive:function.
Sth like this: $('#list1').s
I think it should be also working just this way:
$('#mydiv').css('cursor','pointer').click(function(){
$(this).addClass('selected');
});
No need to select all the contents "manually".
On Feb 20, 5:16 pm, spaceage wrote:
> OK, so you have to independently assign a handler to all descendant
> el
I just tried your approach and everything worked just the way it
should. Can you post the rest of your code? How do you handle the
event that changes the CSS?
On Feb 19, 6:41 pm, davis wrote:
> I am trying to dynamically set css with variables I retrieve from what
> a user types into a textfield
Well, since your jQuery seems to be ok, the problem should be the
variable you're trying to read. Can you access it with a simple
console.log('multipliedweight') or will this also return 'undefined'?
On Feb 19, 8:10 pm, Zaliek wrote:
> A test page is located http://www.procycle.us/
> test.html">
t; find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
> From: Frederik Ring
>
>
> To: "jQuery (English
Hello!
I have setup a simple editor site for a image gallery where the user
can visually edit (sort entries, add entries, edit captions) the HTML
of a . When finished the content gets saved via PHP. Is there a
simple way to have special characters in image captions converted into
HTML entities?
nality, until another link is clicked to re-enable the functionality.
>
> In other words, having the textarea "expandable" is not something I want
> on all the time.
>
> > -Original Message-
> > From: jquery-en@googlegroups.com [mailto:jquery...@googl
This should be done using $(this).unbind(event,function).
I don't know from your example how your handle the event so I cannot
give you a more specific answer.
On Feb 13, 7:57 pm, "Rick Faircloth" wrote:
> Strange question, perhaps...but...
>
> If I have an element that has an function from a pl
How do you select the items to toggle and how are the Maxi & Mini -
images arranged in the HTML.
If you have 2 things toggling at the same time it looks like you are
doing somehting wrong with the selection.
On Feb 12, 10:00 pm, Alain Roger wrote:
> Hi,
>
> I would like to simulate the maximize/
If I get you right you have to put your function into the callback
part of your $(this).load(that); via $(this).load(url,
{},myCallbackFunction());
The callback-function will be executed when the ajax-call has been
completed and should do what you are asking for.
On Feb 12, 7:28 pm, oli wrote:
>
;checked" (for disabled it's
> disabled="disabled", etc.)
>
> Use removeAttr() instead of setting the value to false.
>
> On Feb 12, 8:26 am, Frederik Ring wrote:
>
> > Hi!
>
> > The thing is that somwhow (don't ask me why) the unchecked
Hi!
The thing is that somwhow (don't ask me why) the unchecked attribute
of a checkbox is '' instead of 'false'.
This worked fine with me:
HTML:
jQuery:
$(document).ready(function(){
$('.childcheckbox').change(function(){
$(this).prev('.parentcheckbox').attr('checked
Hi!
You could do it like this:
$(document).ready(function(){
$('input:radio[name=\'optns\']').click(function() {
var optns = $(this).val();
alert (optns);
});
});
You'll have to remove your onclick-s then.
On Feb 12, 3:22 pm, "angelochen...@gmail
Hello!
I am using jQuery to alter the parameters of embedded YouTube-Videos.
This works fine with browsers that use the portion of the code
(Opera & FF), whereas the browsers who use the part (IE &
Chrome) will update the code accordingly but not refresh the Video.
What I am using is the follo
Totally sorry!
I messed up 'name' and 'value', so I tried to augment the 'name' of
the . No wonder it didn't work!
Works absolutely fine with:
$('param').each(function(){
var newname = $(this).attr('value')+'&showinfo=0';
$(this).param('value',newname);
});
Thanks!
Hi!
I think this is a simple question but I somehow cannot solve it
myself.
I'd like to remove those new Youtube-Headings on a blog by adding
'&showinfo=0' to the Youtube-URLs.
It works absolutely fine with the s by doing this:
$('embed').each(function(){
var newname = $(this).attr('src
So you could just either wrap it in a dummy-div or add the and code manually?
Why can't you just read the html() of the element containing your
#test?
37 matches
Mail list logo