Possible Duplicate:
Close /Kills the seesion when close the browser or tab
Is there a solution for cross browser event. I need to check if user closes their window and to throw an ajax request to my database to sign them out.
I've looked everyone but most cases its not working in all browsers. Anyone have a solution? Or Alte...
I'm seeing a couple online but the sites that these guys have look like crap so I don't know if I want to use their plug-ins. If you USE an editable combo box in your web app and you LIKE the plugin then post it here.
Please explain why you chose it over other plugins.
Edit: Bonus points for anyone who is using it with Rails and can sh...
I have a long a web form. I'm wondering if I should bind() to each element separately (what I really want) or should I only define one bind() all of the input elements then do an if-then inside the handler to handle the specific element?
...
Hi guys,
I am resizing several divs in a loop with animate() in jQuery. At the same time I am moving (left property, no resizing at all) the div where they are contained.
Problem is, despite they have same duration the resize animate calls finish before the move call. They are out of sync. Is there any way of creating a list of selecto...
Whenever the url contains the div id, it would obviously go down to the div when the URL has:
http://domain.com.faq.php#1
<div id="1">Bla bla bla</div>
But what I like is to have same feature of Stackoverflow, when you click on an answer in your messages, it will scroll down to the page and has that fadeOut effect on the answer.
...
I have a simple slideshow (jQuery Cycle) that displays an image every ten seconds (7 total images). In an adjacent div, I have a list with 7 bullet points. What's the easiest way to script a method in which the css/style of the appropriate bullet point changes as its accompanying image. The idea is to have all list items displayed, but 1...
So, I have two divs: #div1 and #div2. I want '#div2' to disappear when '#div1' has the CSS value: top = 0px.
Here is the CSS:
#div1 {
top: 0px;
}
#div2 {
display: block;
}
if ( $('#div1').css('top') == '0px' ) {
$("#div2").hide();
} else {
$("div2").fadeIn();
}
$("div2").click(function(){
$("#div1").animate({t...
Hi,
I have made a monthly view custom calendar.I have taken a repeater to make the control.Now what i want is there is a treeview showing some data.I drag from that treeview onto Datalist/Repeater control.on dropping the value should be inserted into database
...
I'm using the jQuery cycle plugin to create multiple slideshows on a single page (which, once I get this problem figured out, will be started/stopped by mouse hover -- yeah, I know there are 9 slideshows on the page).
Problem is, when I tell more than one slideshow to start cycling, whichever ones I call cycle() on get superimposed. So...
I want to resize a img on a click function. Here is my code that is currently not working. I am not sure if I am doing this correctly at all, any help would be great.
<script>
$(document).ready(function(){
$("#viewLarge").click(
function(){
$("#newsletter").width("950px");
});
});
</script>
<a id="viewLarge" class="prepend-7" href=...
Hi
I want that i should be able to drag items from jquery treeview that supports drag and drop.Drop item onto Jquery full calendar with database interaction
...
Hello,
i have been working on a new .net MVC site and have integrated some of the awesome jquery UI components.
ive been testing it in IE8, FF, opera and Chrome and all looks well. Once I test in IE7, surprisingly its the dialogs that are causing a problem.
basically what’s happening is that one you user clicks to open a dialog the pa...
I have a table that lists a bunch of customers. The last cell is an ajax delete button.
I want the row containing the deleted customer to be deleted through jQuery.
<table>
<tr><td>Customer info 1</td><td><a href="javascript:deleteCustomer(1);">Delete</a></td>
<tr><td>Customer info 2</td><td><a href="javascript:deleteCustomer(2);">Dele...
Hi, JQuery newbie here! I'm having difficulty stacking more than one slideshow with each it's own individual controls. The one slideshow works just fine.
However, when I add another slideshow I lose the controls and title for that one. link:
http://dl.dropbox.com/u/1466448/numbered/stack.html
I read on other related posts about using a...
Hi,
I am using jquery update in drupal 6.16 along with a lot of other modules.
I am trying to use jquery ui 1.7.2 to render tabs. But unfortunately they don't work properly since jquery update is not replacing the jquery file (jquery 1.3.2). I checked the version using $.fn.jquery (in firebug) and got 1.2.6 (not 1.3.2 as required) as t...
Hi,
I'm integrating Fullcalendar into my app.
Consider a manager interface where he can select an employee and then view this employee's calendar.
Now basically I'm using the following jquery code in my view:
<script type="text/javascript">
$(document).ready(function() {
$("#calendar").fullCalendar({
defaultView: '...
I have a code which has a character that JS is not handling properly.
$(document).ready(function(){
$.getJSON("http://sjama.tumblr.com/api/read/json?callback=?",
function (data){
for (var i=0; i<data.posts.length; i++){
var blog = data.posts[i];
var id = blog.id;
...
i am having a ul li list
<ul>
<li>Parent
<ul>
<li>
child1
</li>
<li>
child2
</li>
</ul>
</li>
</ul>
and i am trying to use a selector jQuery('ul li:first') and jQuery('ul li:first-child') both giving the same result this makes me confused about the difference between the two i...
I'm using the JQuery autocomplete plugin. I wish to override the implementation of the filllist() function. Can someone point me to an example of how to do this?
...
Is that possible to highlight the new added row in jqGrid. The highlight effect is something like this http://docs.jquery.com/UI/Effects/Highlight
So, when the new row is added, the row will be highlighted, that will make clear for user which record is the new one.
Many thanks!
...