I have a small form with a checkbox and a couple text fields in an update panel. When the user checks the checkbox the text fields are prepopulated with values. When the user unchecks the checkbox, the text fields are cleared. The update panel updates when the user clicks the check box
I've also added a small javascript that unchecks th...
Hi,
I need to make a object like litle man(streetview) that user can be select drag and drop over maps to use as radius selector and callback. I have found this sample for v2. Can someone point me in the right direction. Need to use jquery or can make in api.v3?. Exist samples for similar features in v3.
Regards.
...
I have a play button, along with a forward button.
The HTML is thus:
<div id="control">
<a href="#" id="pause"></a>
<a href="#" id="next"></a>
</div>
What I want is when someone clicks pause, a play icon comes up, and when they click play, the pause icon comes up again. Now this can be done with toggle, but I also need the pl...
Hi all,
I have coded some stuff:
http://fincha.com/kunden/schmitt/
I zoom in with .css("zoom") but I need the buttons to simulate CTRL + or CTRL -
This code isn't working for me:
e = jQuery.Event("keydown");
e.which = 50;
$("input").trigger(e);
Please help!
EDIT
I just wont to zoomin and zoomout the hole page
...
ok heres what i have... it works fine but it looks for a word rather than content. i just want it to show when there is any content..
$(document).ready(function(){
if ($("#box3:contains('Product')").length) {
$('#third').show();
}
});
i dont think you need the htm...
In FF, Opera, IE the CKEditor is working and looks great. But in Chrome and Safari it is not sizing correctly, and is extending past the container that it is inside. I assume this is because Chrome and Safari are currently the most standards compliant. See the images below.
Chrome
Opera
I tried removing all of my CSS files to see ...
Hi folks,
How do I auto resize the font-size of a <td> if the content goes into second line? I know how to increase/decrease font size using CSS and jquery but how to automatically make the font-size smaller if a particular or all the td's with a specific class name text gets longer then one line.
<div style="overflow: hidden;" id="par...
So I see what is happening. I have an image positioned, scale it up from the center and then it jerks over to the original positioning given to it by the css.
What I thought I could do is scale it and then position it accordingly via .css to avoid a jerk... so that the object grows in place.
Not happening. Anytime I try or see a center...
Hello Friens,
I have this code in my view..
<div>
<input type="button" value="Cancel" id="btnCancel" onclick="window.location.href='../Reviewer'" /> <input type="submit" value="Save" id="btnSave" onclick="saveCreateHeader()"/><input type="button" style="margin-left:50px;" id="btnNextStep" value="Next Step" onclick="window.locat...
Hi everyone,
I'm new to jQuery and stack overflow, so I'll try to be specific, but please bear with me. I'm trying to create a text slider with associated links from scratch, using modulus to iterate through the list and repeat.
Here's the code I'm working with:
ul#text { position: relative; margin-bottom: 40px; height: 40px; }
ul#tex...
We have two jqGrid grids - we only want to display one at a time based on a user's input.
Each grid, when displayed, should appear on the screen at the same location.
What is the easiest way to achieve this?
Currently we just have our HTML set up with <table id="list"></table> and then we create the grid with $("#list").jqGrid({.......
This replaces the content in #message_here, each time. How do I get it to keep adding the content, by creating new divs for each message?
var last_mess_id = 1;
$('#load_mess').click(function(){
$('#messages_here').load('ajax/get_message.php?last_mess_id='+last_mess_id);
last_mess_id++;
})
...
Hi,
I've created the following process. Basically it loops through a gigantic unordered list with multiple level nested lists and creates a 2 level nested unordered list. It works well but is very slow in IE7. FireFox and Safari have no big problems with it. Not very good at jQuery I was wondering if I could speed up this by using bette...
I have modal and I want to insert in modal view some scrollable text .BUt scrollLeft not work in modal view but works if I put it on main page, not in modal view.
<div id="userList">
<div class="user">
<a href="#?w=500" rel="popup1" class="poplight">Open Modal View</a>
</div>
</div>
<script>
$(document).ready(function...
I'm pretty new to the jQuery world, so I'm hoping for some help.
I am creating a page that has a div that has a number of checkboxes inside of it.
Each of these checkboxes are contained in their own divs as well.
<div>
<div>
<input type='checkbox' name='cb1' />
<div id="info1">
Hide
</div>
...
Hi all!
I'm pretty a beginner with jQuery!
I need to have some divs to fadeIn on page loads, and i can do it.
I need to have them showing with different delay and times, and i can do it.
Every div has an image that fadeIn when you hover the relative div, and i can do it.
The problem is that the animation of the image on hover, start st...
Hello,
Most examples I can find showing how to work with attributes show how to set them and not how to retrieve them. In my case, I am trying to get the class of an and then parse it to determine its parent value.
HTML:
<select class='parent' name='parent' size='10'>
<option value='1'>Category 1 -></option>
<option value='2'...
I'm using jQuery's form plugin (as suggested in a number of threads like this one) to make an Ajax post to a .NET MVC controller and consume the JSON I get back. It works just fine in Chrome, but in some other browsers, including Firefox 3, the form submit results in a "Save or Open this file" dialog box. The JavaScript looks like:
var ...
If I specify my events by hardcoding in a javascript events array, the time is displayed before the title on the calendar:
The Javascript code of:
events: [
{
title : "my title",
start : new Date(2010,9,8,11,12)
}
]
results in a display of "11:12 my title" as an event on my calendar.
But, when I use an function to cre...
Hello everybody,
I'm trying to make a better useable scrollbar (horizontal and vertical) for a touch screen.
Everything works well except that some events don't seem to be supported by the slider plugin of jQuery (using 1.4.2 currently).
Situation:
I've made a div with overflow hidden and I'm overlaying the slider over the normal browse...