I have a function that calls .dialog on a dynamically generated element. The code:
dialog: function(message){
$('<div>').attr('innerHTML',message).dialog({
draggable: false,
width: 500,
hide: 'puff',
resizable: false,
bgiframe: true,
modal: true,
buttons: {
Ok: function() {
$(this).dia...
I have been developing an app to use jQuery's jqGrid plugin, and I thought I had it all wrapped up until I tried to view the grid in IE. In IE, the grid appears with a much larger height in the .ui-jqgrid-view div, but the data itself stays at a smaller size and displays at the bottom of the container div (.ui-jqgrid-view). I need to g...
Is there a way for a page to go back a page onload using javascript or php?
...
// accordion
$("#left-nav .block h2").click(function(){
$(this).next("div").slideToggle("fast", function() {
alert("hey");
$("#left-nav, #content, #aside").equalHeight();
})
.siblings("div:visible").slideUp("fast");
$(this).toggleClass("active");
$(this).siblings("h2").removeClass("active...
$(".feature").change(function(){
getProductSelections();
});
ARRRGHH!!
...
Well I have a very rough version of gomoku working now.
I'm using Jquery, Php and mysql database.
When a user clicks on a board square a piece is placed. An ajax refresh determines if turn count has been incremented and updates the board's html if necessary.
The problem is that Internet Explore (6,8,&probably 7) caches the page on the...
I am using the following form builder (http://dontlink.me/formbuilder/) and making lots of changes to it to work the way I want.
One of the things I want it to do is when you add a new form field, I want that form field to be placed at the bottom of the list... At the moment they are placed at the top.
This is the code that adds the ne...
how to styling jquery slider like bar width, color, size
...
hi ,
how to find if there are no divs present inside the DIv droping_area in JQUery
like
<div id="droping_area">
<div id='a'></div>
<div id='b'></div>
<div id='c'></div>
</div>
...
Hi All,
I am new to this so need some help.
What I want to do is...
I want to give span to ul of primary link i.e secondary link using jQuery. I hope this is clear.
Thanx in advanced.
...
I am using the following code to build object for posting via ajax:
eval('var prop = { ' + input.attr('name') + ': inputVal };');
paramsObj = $.extend(paramsObj, prop);
Unfortunately I am having a little trouble when parsing my form when it comes to radios/checkboxes as I need to concatinate the values into a single param.
How can I ...
I got the Flot-created graph. What I wanted to acomplish is to get some kind of information when user moves the mouse over it - best would be to show the data (from x and y axis) in some kind of javascript popup.
It's probably trivial question, but I can't figure it out...
Right now my javascript looks like this:
<script id="source...
I am populating a select menu with getJSON. I am wondering if there's a way that I can use jQuery's .each function to bring in these values?
Surely there must be an easier way to accomplish this...maybe?
PHP file:
<?php
$queryMonth = "SELECT monthID, month FROM months";
$result = $db->query($queryMonth);
while($rowMont...
Hi,
I have a table, containing a checkbox to select the whole row (or not).
This selection is done through JavaScript (JQuery) by setting a class attribute on the row.
function SelectRow(pRowID)
{
$("#"+pRowID).toggleClass("selected");
}
Next step, I want to loop through all selected rows of the table (to extract data from it).
A...
I'm trying to build a checkbox list within a select list (like the one for countries here: link text)
I'm using Asp.net MVC so it needs to be pure/html &| javascript/JQuery. Is this possable? Or is there already a prebuild one I could download load?
Thanks
Ripped HTML/CSS:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<style ...
Hello,
We're trying to get the JQuery validate plugin working on our site but we've stumbled across a problem here.
On our site we have a login form available for the user on every page where we'd like to use the plugin to validate that the user has entered a username and password.
We also have a couple of pages showing for instanc...
Hi, It's my first time using StackOverFlow and first time trying to set up jQuery Validation. It's displaying <label> tags with the error messages as default behaviour, however the way my CSS is set up I need a div to wrap around the offending element and a message display in <p> tags.
Without errors, my html looks like this:
<div clas...
Hello,
I have a file upload form which makes use of the jQuery Form plugin to upload 3 files via the ajaxSubmit() command.
Success and Error Callbacks are provided to ajaxSubmit() to display the result in a <div> to the user.
When the uploaded files cause the Request length to be exceeded the MVC framework throws an HttpException, and...
function json()
{
var url="http://192.172.2.23:8080/geoserver/wfs?request=GetFeature&version=1.1.0&outputFormat=json&typeName=topp:networkcoverage&CQL_FILTER= topp:CELL_ID='410-07-301-31781' Or topp:CELL_ID='nnn'&callback=?";
jQuery.getJSON(url,function(data){alert("Symbol: " + data.type + ", Price: " + data....
Hello,
My question is, how I can gain better control over this slider, because if I move over it
a couple of times then the slider slide's into a wrong position. Either below minimum value or above maximum value. I use the animate function.
The slider has three different positions and it has to do basicly two things.
1.calculate how...