Hi,
I'm trying to call an blockUI after a buttonclick, but I can't get it to work.
What am I doing wrong?
Script:
$(function() {
$('#<%= btnSave.ClientID %>').click(function(e) {
e.preventDefault();
$.blockUI({
message: '<div><h1><img src="Images/busy.gif" /> Please wait.....
jsFiddle
I have a DailyMotion video embedded in my page, through an iFrame, within a div. If the user clicks on the video, it starts playing.
Is there a way to use jQuery to simulate the user clicking on the video, so that it will start playing automatically? From what I've read so far you can only use jQuery's click() with events atta...
How to use JqPlot (javascript ) charting libraries in a native application for iphone?
...
Hi,
I want to show a Jquery blockUI when I click an asp:button that triggers a serverside function.
When the function ends, I want to do the unBlockUI.
Is this possible? If so, can I have an example, cause I'm not an Ajax specialist.
Thx!
...
Hello, is it possible to get the current rowindex of a gridview using jQuery?
Bit of background:
I delete rows from a gridview using a server side link button in a template field like so:
<asp:LinkButton CausesValidation="false" CommandName="Delete" ID="lnkDelete"
OnClientClick="javascript: return(confirm('Delete item?'...
Hi all,
How to get the selected tab of the browser using javascript?
Thanks,
Gaurav
...
Hi,
I have a block of code:
$('#link_dwebsitedesign a').removeClass('selected');
$('#link_dhuisstijl a').removeClass('selected');
$('#link_dhosting a').removeClass('selected');
$('#link_dwordpress a').removeClass('selected');
$('#link_dseo a').removeClass('selected');
...
I am using a div with class scroll-pane (height 100%) within an absolute positioned div. The scroll-pane div contains some text first, followed by an image and followed by some text again. The image height is set to 200px.
Problem is! If I view the scrollpane in Chrome (latest Version) I sometimes can scroll the complete content and some...
How could i return user to unfilled field when he push "submit" button?
I have something like this:
<!--Contact Name-->
<div class="section" id="inputdiv">
<span class="fieldname">Name:</span>
<input type="text" id="contactname" /> <!-- Nessesary to be filled-->
<script type="text/javascript">
...
This two errors I get in the Firefox error console:
Error: Incorrect document format
Source file:
Row 1, column 45
Source code:
<div xmlns="http://www.w3.org/1999/xhtml"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Error: uncaught exception: [Exception... "An invalid or illegal st...
I am trying to renumber rows in my table using jQuery
This is the generated HTML
...
...
<tr>
<td><input type="hidden" class="counter" value="5"></td>
<td><input type="text" size="40" id="drugName5" name="drugName[5]" class="drugName required" value=""></td>
<td><input type="text" name="dose[5]" class="dose" value=""></td>
<td><input ...
I am using a user control (.ascx) as below
<div class="ui-widget" id="w_instruction">
<div class="ui-state-instruction ui-corner-all w-msg">
<a id="btn_instruction_close" class="ui-dialog-titlebar-close ui-corner-all" href="#" style="float:right;"><img src="../../Images/i_close_blue.png" border="0"/></a>
...
Hi people, how to code the sorting method, i have a datetime formatted as 2010-09-26, how would i code it for quicksand?
and how would i possible add another attribute(data-id), im listing out a bunch of images, and using quick sand to sort them into image types, and also need a additional attribute for sorting the 'latest' attribute.
...
Hi,
Does anyone know how to bring in all of a mysql tables' results, only show the first X, (say 10), and then hide the rest using jquery? Basically, as I've already got the jquery, I just need to know how to show only the first X results in one div, then the rest in a seperate div.
My aim is to only show the first 10 results, but prov...
Hi there,
I have a classic asp form to add products to a site. The form has 3 fields of 'Price', 'Sale' Price and a checkbox for 'On Sale'.
What i'm trying to do is, when a user enters a 'Price' and ticks the 'On Sale' checkbox, some javascript would complete the 'Sale Price' with a value that is 'Price' - 10%.
Wondering if anyone may...
here are the html elements :
<input class="myClass problemOne" type=text value=something></input>
<input class="myClass problemTwo" type=text value=somethingelse></input>
and here is the javascript and jquery in which I am tryign to access classaname, neither method a, or b works ... "classname is null or not an object".
var myElem...
I really need to remove some block with the help of js. Is it possible not to hide some block, but remove it at all?
Because I have a field wich user will not be able to see if he selected "no" in my selectbox, but JQuery validation anyway sends message that this field is empty.
I have this:
$(function () {
$("#wichone...
How does one deep clone an object in YUI3 ?
In jquery it would be typically done as follows
var clone = jQuery.extend(true, {}, object);
...
Hi guys,
I'm trying to develop an application where addresses are pulled out of a database to show them using a marker on a google map on my website.
I have the following javascript code + jquery , google maps and all other necessary javascript files:
$(document).ready(function(){
// initialise map
var myLatlng = new google.m...
Hi, How to save div title into cookies? And how to get this saved data, back?
<script type="text/javascript">
function setcookie(title, value, exp) {
var expdate = new Date();
expdate.setDate(expdate.getDate() + exp);
document.cookie = title+'='+value+';expires='+expdate.toGMTString()+';path=/';
}
</script>
<div title="1" ...