I am trying to show the street view in a jquery dialog box with a width of 500. What I have is a marker that can be clicked on the map. Once it is clicked I have this myPano.setLocationAndPOV(overlay); set in the markers click event. It works fine on the first click of the marker. However, on the second click for some reason it resizes t...
I have HTML page:
<head></head>
<body>
<div>
<div>
<div id="myDiv">
</div>
</div>
</div>
</body>
How to hide all divs, and just have the myDiv inside the body using jquery?
Update
The page may contain some other html elements such as some tables, anchors, p, and i just want to see the myDiv element.
...
What's the event to bind for when a select form is selected?
I have something like this:
<select id='list'>
<option value='1'>Option A</option>
<option value='2'>Option B</option>
<option value='3'>Option C</option>
</select>
When Option B is selected, I want some function to run.
So what do I bind,
$("#list").bind("?", function (...
I'm trying to get rid of the dotted outline that appears in FF when you click an input of type button. This outline doesn't appear in Chrome.
I've tried:
.button {
border:none;
outline:none;
}
.button:active {
border:none;
outline:none;
}
.button:focus {
border:none;
outline:none;
}
None of these work. Anyone ...
Hello everybody, I hope I can get some help. I'm new to Jquery and JavaScript and I got stuck with a "setTimeout" function.
I'm working on my navigation bar and basically I need a div(sub menu) to fade in when "click" on an anchor tag, fade it out if you move the mouse to a different navigation link and hide it all together if the mouse ...
I have looked through stack overflow and couldn't really find an answer. I have the following code that fades an item out, sends information to the server, and when it is received it fades it back in. It works great in IE. Doesn't work in chrome. The data is called on the server, but the actual fade effects aren't working.
function getC...
I saw two url's for jquery today
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2
and
http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
Which one should i use for my production app?
Which url is used by you in your production apps?
...
I have an iframe that can appear in a jQuery modal dialog, a popup window, or just as part of a page. The height of the content of this iframe can change as elements appear and disappear, and I need the containing iframe, along with the modal dialog or popup window where applicable, to change height as necessary to be 'just right' for t...
I'm working on a library which uses jQuery internally which work fine. But i don't want force the user to use my jQuery-Version just because he uses my library in his code.
So the question is, how can i use jQuery under a different name?
Is it sufficient to do something like this:
var mylib.jQuery = {};
mylib.jQuery = jQu...
I have a page with draggable/droppable elements that once dropped need to calculate their left position and width in regards to other draggables that they may be touching.
This isn't too hard in and of itself, but where I'm really having trouble is getting them to fill in empty space. How do I get the draggables to fill in the empty spa...
hi all,
i am trying to add a button in the autocomple.js when no match if found and it should allow the user to turn off autocomplete. i have added the button but i can not fire a event on the button click..
this is the code where i am trying to bind the mousedown event with the button
if (li.childNodes[x].tagName && li.childNodes[x].t...
I found out IE has different behavior vs Firefox when I use this
$('head').prepend('');
That basically just to add the theme-2.css on top within HEAD tag (for theme purpose). I do that because I don't want it to load yet because I use the csspreload http://www.filamentgroup.com/lab/update%5Fautomatically%5Fpreload%5Fimages%5Ffrom%5Fcss...
Using jquery ,how can i get the current css class of a div called "div1" ?
...
I have a issue with populating values in a box using JQuery.
Instead of adding it underneath each other it adds it next to all other elements
my code
$('#pages option').append($('#t1').val());
...
i have many rows
List item - delete
List item - delete
List item - delete
like above 3 rows.. it has delete link, on click i want to disable that link, until i get response from ajax saying ok delete it or no not ok, dont delete it, user is not an owner, then i have to give the element back to clickable.. if that makes sence
basica...
Does anybody know of a jQuery plugin that can do something like this:
http://www.endclothing.co.uk/catalog/product/view/id/5599/s/nike-leather-blazer-vintage-pre-order/category/4/
Im at a dead end.
Thanks,
A.
...
I have a problem with the following code in an ASPX page:
<script type="text/javascript">
$(document).ready(function() {
$('.test').click(function() {
alert("click")
})
});
</script>
<asp:CheckBox runat="server" Text="Checkbox XYZ" CssClass="test" ID="cb1" />
In the browser (FF3.5 / IE8) I have the following problem:
if I click...
hi
in my application i have tab menu which i done using css.
when ever user moves the cursor on the tab he should been given an tooltip for that tab. is it ther any solution i can solve using JQuery or any other concept.
thank you
...
Well I already saw this question here. But m a little bit of confused. There were several solutions provided:-
var div1Class = $('#div1').attr('className');
This one was the accepted solution with 2 up votes.
var divClass = $("#div1").attr("class")
This got an up vote too.
Which is the correct one? And if both are correct, what ...
I have a jquery ajax call in my javascript where the server page will return data in an xml form.now i want to load this XML in an XML DOM (browser independent.Need firefox and IE support atleast ) and parse via it.Can anyone tell me how to create one XML DOM object and load the content returned from the serverpage to it ?
...