hi guys!
I've made a div show on mousemove. now I need it to fade out when mouse is not moving. I've tried this, but the problem is that when the div is in "fadeout-mood", it don't show again when I move the mouse.
is there someone who can help me with this?
$("#main_center").mousemove(function(){
$("#menylist").show("");
$("#menylis...
When I launch the mail app from a mailto: link from a page in mobile safari on iphone os 3.1.1 (an ipod touch), everything works nicely. When the mail is sent or cancelled, safari runs again, but all jquery functionality is gone. I'm using jquery v1.3.2. Ordinary inline javascript still runs. Has anyone else noticed this and found a ...
I need to submit all selected JQGrid row ids to the server.
var rows = $("#grid").getGridParam("selarrrow");
Then on the server I would like to do this.
String[] rows = request.getParameterValues("rows");
Now what is the simplest way to submit rows to the server? Must I use POST?
...
I'm creating a site where users can bid on items in a silent auction. I want to be able to somehow start a timer and then let users bid on the items. Once the timer reaches a certain number, I want to be able to remove the bid feature on the auction items.
Does anyone know the best approach for me to do this and what functions or plugin...
I am using the following script to adjust the iframe height automatically.
function autoIframe(frameId) {
try {
frame = document.getElementById(frameId);
innerDoc = (frame.contentDocument) ?
frame.contentDocument : frame.contentWindow.document;
objToResize = (frame.style) ? frame.style : frame;
objToResi...
Hi.
Tried looking at other solutions but they don't quite answer my question so here goes.
The code below shows me declaring an anonymous function to run when the document is ready which contains another function relating to a plugin which creates a horrizontal accordion.
That function takes in certain properties and one property, even...
I am trying to select an input where the value equals a dynamic value
trimmed = jQuery.trim(a);
preSelectedCheckBox = $(this).find("input[value=" + trimmed + "]");
The element exists but I constantly get no value returned. ($(preSelectedCheckBox).length = 0)
...
Hi,
Im trying to create an interactive skeleton (human type) whereby when a user rolls over a specific point a popup/tooltip appears showing details.
I have a theory in my head as to how I should go about this, it includes a slightly modified coda jquery tooltip script and using co-ordinates.
My question is how others would do this? I...
hi
i've got a page (asp.net) where I trap the click event of a link.
i then do some dirty checking and present a dialog to the user,
$(function() {
var clickedLink;
$('.checkdirty').click(function(event) {
if(isDirty == false){
return true;
}
clickedLink = $(this);
$('#di...
Hi All,
I have a HTML structure:
<div class="mydiv">xx
<span>test1</span>
<span>test2</span>
<div class="inerdiv">
<span>inner span</span>
</div>
</div>
<span>test3</span>
Now I want to apply styling to the span which co...
Can anyone suggest good jquery tooltip to show brief details for small part.
i want to show 3-4 lines of details in tool tip.
...
I cobbled together this jQuery function. It's purpose is to calculate the margins of all img elements inside div.article in order to balance the image's height with the baseline grid of the document, wich is 20 px. In order to match my baseline grid, every image height should be a multiple of 20. If that's not the case, e.g. one image's ...
How to calculate the characters(spaces are excluded) within a pair of tags in JQuery or Javascript? What function?
For example:
<pre id="mytext">This is the text. This is the text.</pre>
How to know how many characters or words in $("#mytext")?
...
Hi Everyone..
Does anyone know a good plugin to upload and preview an image using jquery....? I've been googling this for a long time and still can't find any....!!!
Thanks and Regards...
...
How can I know how long the current page has been loaded using Jquery or Javascript? What function?
...
I have a SELECT element in a form which I'm populating using AJAX when the select option changes. This works really well using the following code:
$(function() {
function populate() {
$.getJSON('/action/' + $(this).val(), {}, function(data, textStatus) {
var el = $('select#two');
el.html(''); // empty the select
...
How to turn off the sound of alert(), or is there any good and simple alternative in Jquery?
...
Hi everyone!
I'm having some trouble with this javascript (using jQuery):
$(a).click(function(){
alert('hi')
this.unbind.click(function(){
doSomethingElse(this);
})
})
When a is clicked, it is supposed to reassign its own click event. Unfortunately, it fires the second click event as well. I know this is to do with p...
Hi all,
I'm sending a JSON object to PHP using jQuery via
$.ajax({
url: myURL,
type: 'POST',
contentType: "application/json; charset=utf-8",
data: myData,
processData: false,
dataType: 'html',
async: false,
success: function(html) {
window.console.log(html);
}
});
and trying to decode t...
I'm making a request to a JSON page using jQuery's $.getJSON method, and from the returned JSON i'm creating some HTML and putting it on to the page.
The problems appears when I have a nested JSON object, i'll show you an example later.
First off, if I make a request to my JSON page and return the following JSON, the function works ju...