I have a HTML fomr which uses special characters in ids ( :,-,_ ). The form uses JQuery validation plugin to validate the user input. Specifically the id includes a GUID
Following is the sample code:
<script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-validate/jquery.valida...
I google it up but didn' find something like this.
I am having an iframe with 2 main attributes src=# and link=http://somesite.com
<iframe id="myiframe" src="#" link="https://somesite.com?id=x&anotherid=y" style="position:absolute; left:0px; top:0px; width:99%; min-width:80%; height:99%; min-height:80%; padding:0px;"></iframe>
I ...
Hi there
I hope you can help me.
I have used on a localhost aspx page the following code so it autocompletes.
It works perfect.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></sc...
Hello,
The pages of my web application are loaded really slowly on Internet Explorer 6, compared to Firefox : around 6s for IE6, 3s for Firefox.
The size of the pages are indeed a big problem in my application, but
I also know that the <rich:modalPanel> is really slow on IE6 (due to DOM manipulations).
As we use a lot ot them, I thin...
Hi All,
I have a custom templated control(toolbar) that contains a custom usercontrol(button) The button uses jquery to style and manage the states/postbacks/non=postbacks etc.
A few of the buttons are hidden with a placeholder and are displayed when hitting one of the buttons.
All the buttons with regards jquery seem to be initiated ...
Hi all,
I am using the jQuery UI Datepicker.
However a vertical CSS scrollbar overflow-y:scroll causes a bug for Firefox, Opera and Safari.
This bug can easily be reproduced by copying the sample code of jqueryUI and adding 2 lines css declarations:
body { overflow:scroll }
#datepicker{ position:absolute; right:1px }
A demo can b...
I have looked at similar queries here, but I can't seem to apply them to my problem. I am pretty new to jquery, so I may be doing something dumb.
I have a simple getJSON test:
$(document).ready(function() {
$(".testurl").click(function() {
// do a json call
var url="testjson.php";
var rc=$.getJSON(
url,
{parm1: "P1"...
HEllo,
I have a site where I want to introduce reply user functionality. How to make an ajax loaded reply text field like a popup? currently, i m using a text field which takes hell lot of time on clicking reply. Is there any method to make it faster?
My ajax call is :
$("#replyMe").click(function(){
$().ajaxStart($.blockUI);
$.aj...
For some reasons I'm using an Iframe to display googlemaps, when I want to change it's content I'm just changing the Iframe src using JQuery.
$('#ggMap').attr('src', 'http://newurl.com');
Apparently it's not doing anything on Internet Explorer.
Does anyone know how I could do the same thing with IE?
...
var f1;
var f2;
var i=1;
var again_again = 1;
function again() {
go();
}
function go() {
$('.floater').animate({
left: "-=200px"}, 4000, 'linear', again);
}
...
Hi, all
I'm having a problem with jqGrid. I need to call a function when a column is resized. I have tried the following...
$grid = jQuery("#list").jqGrid({
...
resizeStop: function(width, index) {
alert("resize column " + index + " to " + width " + "pixels");
},
...
});
... but the event does not fire...
Hi all.
I have jQuery function, that if it will hit specific class is wrapping it with some oter divs.
(document).ready(function(){
var Text = $('.bd_box_cont').html();
$('.bd_box_cont').html("
<div class='bd_box_tl'><div class='bd_box_rt'>" + Text +"</div></div>
");
)}
Only problem is that I have more then one conta...
And the problem is that after I click on the 'Collapse all' link, 'some' of the pluses and minuses are displayed opposite to what they should be: i.e. an 'expandable' node would be shown with a minus next to it. Apart from that, the tree works correctly. (Well, the 'expand all' functionality is affected, as well but I think this is part ...
i am trying to clone a particular div and do some manipulation to clear the content and return.
var tmp = $('<div>').append($('#masterdiv').clone()).remove().html();
It works fine in firefox. but in IE and chrome, this removed the entire div instead of cloning.
Whats the workaround for this?
Edit:
The main aim is to copy the entire...
I have a form with two input textboxes, and I have included jQuery validation rules for both:
<script src="../../Scripts/jquery-validate/jquery.validate.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#respondForm').validate({ onclick: false,
onkeyup: false,
onfo...
I'm currently using the anythingSlider plugin, it works totally fine except when there is only one <li>.
The <li>s are generated from the database so sometimes there's only one.
However, the anythingSlider plugin still tries to slide through the <li>s, it works by sliding back to the first slide. Although this doesn't look great.
Do...
I have asp.net application where i have a div which showing the value from other site.
The value of that site is changing continuously.
I want that my div will automatically update in some interval time.
How can i do this.
...
Hi, I have Telerik grid control, there I have an edit control like update and cancel buttons and so on.
The edit controls are shown automatically when I edit image click, no manual coding used to invoke the controls. Therefore my problem is I have to validate the input control when I update button click. The controls are created dynamic...
Is there a way to tell jQuery that you want what ever comes after text() or html() to be applied to it? Hard to explain, easier to show:
$("#someElement").html().replace(oldWord, newWord, "g");
The above won't change the DOM, you'd have to do:
$("#someElement").html($("#someElement").html().replace(oldWord, newWord, "g"));
which is...
I am trying to sort a table which has column like 2009-12-17 23:59:59.0.
I am using below to apply sort
$(document).ready(function()
{
$("#dataTable").tablesorter();
}
);
But its not working for the dates of format yyyy-mm-dd.
Can any one suggest how can i apply this format for sorting?
...