I am trying to get some cross browser consistency of obtaining the
true image size.
In Firefox, there is two fields,
image.naturalWidth
image.natualHeight
IE does not recognize these fields. I think I am either over thinking
the issue, and probably not seeing something I thought jQuery
$("#itemId").val(); I found this one here http://docs.jquery.com/Attributes/val
now, when I place this inside the live() function, this should work
right? because it's already 'live' so it already has the elements from
the dynamically loaded page.
On Aug 3, 7:35 am, solow wrote:
> and for the in
Hi Jörn,
Thanks for reply,
now here the context why I need to use "*id*" instead of "*name*"
I have a form somethink like this:
First Name:*
Last Name:*
Email:*
Telephone:*
Company:
so, as you can see the name attribute is already used for server side
proce
Hello,
here is the body of the XHTML:
♦ News
♦ About
♦ Services
♦ References
♦ Contact
♦ Imprint
and for the input text input?
On 3 aug, 07:11, waseem sabjee wrote:
> var tcC = typecoinsCASHIN.val();
> please add values to all your option tag.
>
> if(tcC == 1) {
>
>
>
> }
> On Mon, Aug 3, 2009 at 4:03 AM, solow wrote:
>
> > hello,
>
> > Recently i've discovered how to use dynamicaly loaded
var tcC = typecoinsCASHIN.val();
please add values to all your option tag.
if(tcC == 1) {
}
On Mon, Aug 3, 2009 at 4:03 AM, solow wrote:
>
> hello,
>
> Recently i've discovered how to use dynamicaly loaded content, with
> javascript.
>
> $("div ul li a").live("click", function() {
> //
I am not really used to RegEx. If the return html is like this, how to
add an attribute to .msg-item before parsing out?
nvthoai hi
Cách đây 10 giờ
Trả lời Xóa
try regular expressions
http://www.w3schools.com/jsref/jsref_obj_regexp.asp
http://www.w3schools.com/js/js_obj_regexp.asp
or
http://www.regular-expressions.info/javascript.html
http://www.regular-expressions.info/javascriptexample.html
maybe it helps ;)
On 2 Aug., 21:13, cohq82 wrote:
> Hi all
When I try to animate a DIV-element with this code:
$(this).parents(".pane").animate({ backgroundColor: "#fbc7c7" },
"fast")
.animate({ opacity: "hide" }, "slow")
everything works fine. But when I try to do it after I press a button
in a dialog - nothing works! Why?
Here's the code:
$(document).r
this is a more css problem than a jquery problem.
you have to make the right order in your css and use right selector. i
had the same problem.
td.td-class div a {
/*some styles*/
}
a.active:hover {
/*some styles such as background-image dondt wordek but border worked.
in my case dont worked on dy
+1 Aptana. excellent for javascript in general, comes with support for
jquery 1.3 enhanced code support. excellent html and css editor as well.
built on eclipse framework without all the java editor bulk.
2009/8/2 cfddream <371486...@qq.com>
> Aptana?
>
> --
> Ever
>
hello,
Recently i've discovered how to use dynamicaly loaded content, with
javascript.
$("div ul li a").live("click", function() {
//.
}
Now I want to know I'm using a small form, with more than 1 field,
and a 'submit button'.
which looks like this:
Type: Normal chipsPremium chip
Aptana?
--
Ever
Now
..
-- Original --
I believe that Aptana offers jQuery support.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of S2
Sent: Saturday, August 01, 2009 8:21 PM
To: jQuery (English)
Subject: [jQuery] Looking for a Good JavaScript Editor that Supports JQuery
It could be the response callback. But I have spent a half a day
optimising the callback code for speed. I have seen some dramatic
improvement - response delays of 3-4 seconds dropping to 1-2, but it
still feels sluggish.
There are two main ajax calls. The first is only called once when the
page
remove the @ sign.
it is no longer needed.
On Sun, Aug 2, 2009 at 10:45 PM, John Resig wrote:
> Just remove the @ and it'll work fine.
>
> --John
>
>
> On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 wrote:
>
>>
>> I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I
>> get my fir
Just remove the @ and it'll work fine.
--John
On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 wrote:
>
> I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I
> get my first "difference": when I use the wrapped set operation $
> (':inp...@name=submit]') with jquery-1.3.2 it return
Found my own answer for anyone who is interested...
Changed overlayCSS to:
overlayCSS: {
backgroundColor: '#000',
opacity: 0.0,
cursor: 'not-allowed'
}
Now 'not-allowed' cursor style di
I'm using the jquery validator supplied here:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
The form I made has six different sections corresponding to six
different sets of information being entered. For clarity, I should
mention that this is an RSVP form, and the user is able t
Will tooltip show itself when I add IMG with tile and alt? or do i
have to reinit it everytime?
windows xp
firefox 3.0.6
jquery:1.3.2(latest release)
script:
$(document).ready(
function()
{
$("a").click(
function(event)
{
alert("Click");
Does anyone know of a good JavaScript editor that supports JQuery?
Anyone sucessfully integrate JQuery into Eclipse/WTP or JSEclipse?
Hi wolf,
Please try by rebinding the event in page B once page B is loaded.
Hope this will help.
Thanks!
Praful
On Sun, Aug 2, 2009 at 2:02 AM, wolf wrote:
>
> I bind a custom event on page A,then ajax load page B。In page B,there
> is a link which trigger the custom event.
> Problem is :the
I use jquery validation plugin 1.5.5, and got problem with error
message. They don't disappear when the form is valid or when i use
multiple rules, second rule message didn't show, the message is still
the first rule message.
Here's the code:
$(document).ready(function () {
$('#user_form'
i create tatble row dynamic using append after calling web service. It
create ok.
After create table i try to add css to the td but it doesn't seem to
work. any idea how to resolve this. the syntax is correct. I notice
when i view source, the all the row are not there.
[row append dynamiccly]
$(this).closest("div").attr("id")
CSS selectors start with dot (.)
On 2 Sie, 18:01, Mateus Caletti wrote:
> Hello people, i'd like to know if it's possible change de message
> while the page is block by "blockUI" jquery plugin. I've tried a lot
> of things, but none was good. One thing i've tried was using CSS
> selectors like:
I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I
get my first "difference": when I use the wrapped set operation $
(':inp...@name=submit]') with jquery-1.3.2 it returns all input
fields, but if I use it with jquery-1.2.6 it returns 0 (as espected).
Is it an error with 1.3.2
i am calling web service and build dynamic table row. It work up to
here. and then i trying to apply css style on after that and it
didn't work. Is there a work around?
[I added row content dynamic by jquery here]
hello,I hope this helps:
$("#product_links li a").click(
function()
{
alert($(this).parent().attr("class"));
}
);
> On Aug 1, 11:39 am, macsig wrote:
> > Hello guys,
> > I'm tr
thanks everyone
It's almost simple as " MorningZ " wrote ;)
I've made more impressive evolution using jQery.
thanks
On 12 juin, 09:14, Michael Lawson wrote:
> It almost sounds to me like you're confused on what jQuery actually is? "
> Does it works similary like woring with Javascript and D
I've went with a problem similliar to yours, a guy helped me out
$(this).closest('.your-item').attr('id');
Try putting in your div a class named "your-item" like so, class="your-
item" and then when you click on your span i think it wold give your
div id, just try it :)
Example:
Hi all,
I have my website getting a value as a result of an ajax call. After
that, I would like to insert that result (a string) into a tag.
However, I would like to insert that result in a way that (1) it must
have opacity = 0, then (2) it will slideDown() so the whole content
list being pushed
I've been trying to get a specific parent element traversing up the
DOM until I find it, but it is getting to be some very verbose code,
and I'm thinking there must be a better way.
I have a bunch of events which is fired on a click, and I am trying to
figure out which of the parent divs was clic
Hi All
I've beem using prototype and scriptaculous and want to swith to
jQuery. The thing is that scriptaculous has a very nice queuing
mechanism. I think most of it can also be done by fxqueues, however I
don't see how to call a function when a certain effect finishes. Can
this be done ? and is
Hello guys,
I'm trying to create a couple of "download" buttons (one placed at the
left and the other at the right of my page) with sliding effect:
basically I want to show just a piece of it and when the mouse goes
over to slide it in order to show if the linked document is available
or not.
I h
Hi All,
I am creating an form dialog that will be slightly different for
creating data than editing data. I'm pretty new to jquery, but I'm
using the jqueryui and it seems to be working fine, but now I'm
looking to change the labels of a couple of buttons and have one
button available du
Hello people, i'd like to know if it's possible change de message
while the page is block by "blockUI" jquery plugin. I've tried a lot
of things, but none was good. One thing i've tried was using CSS
selectors like:
$('blockUI blockMsg blockPage').innerHTML
but it hasn't worked.
Any idea?
Than
IS that correct sytnax??
On Fri, Jul 31, 2009 at 7:08 PM, Joel Polsky wrote:
> Like this? (Which doesn't work)
>
> $("input[name=PlannedInvitationsOther]").focus(function(){
>
> $("input[name=PlannedInvitations][value=Other]").attr('checked','checked');
> }
> );
>
>
>
>
> On Fri, Jul 31, 2009
I have a DIV blocked from data entry in IE, Firefox, Safari and Opera.
Functionally all is okay -- super plugin!!!
The only problem left is that the cursor does not change to 'not-
allowed' on the overlay when I use IE 6,7 or 8. All other browsers
render the cursor okay???
Here's the code:
duh. thanks.
but i also realise it is missing the auto rotate thing that could be
set up using the tabs function. Is there not a way to use the tabs
function with a return false.
On Aug 2, 12:27 pm, waseem sabjee wrote:
> In the code above you are using hide() instead of fadeOut() etc
>
> On Su
In the code above you are using hide() instead of fadeOut() etc
On Sun, Aug 2, 2009 at 12:42 PM, chris_huh wrote:
>
> I tried that and it didn't work.
>
> The second code i pasted above works (doesn't jump to top of page) but
> it loses the fading ability.
> Where as the first bit of code has th
I tried that and it didn't work.
The second code i pasted above works (doesn't jump to top of page) but
it loses the fading ability.
Where as the first bit of code has the fadign but jumps to the top, i
don't know where to put the return false statement in that bit of code
to prevent it doing tha
return false is the standard method and will work no problem :)
there is an alternative as well
$(document).ready(function(e){ // function becomes function(e)
e.preventDefault(); // prevent default behavior and ensure the click is
canceled.
$('#tabs div').hide();
$('#tabs div:first').show();
$('#
Thanks. I don't know javascript much. Where would i put the return
false
I have:
$(function() {
$("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs('rotate',
5000);
});
And i am not using onclick events. I tried using:
$(document).ready(function(){
$('#tabs d
Mike,
this was very educative post, thank you very much, it works now.
So the bottom line is that ajax call is asynchronous with the code
that goes after ajax call (rest of the code is not waitng for the ajax
call to finish) and that everything that depends on data returned from
ajax call has to
46 matches
Mail list logo