I have two GridViews that list out included and exclude data items respectively.
By clicking "Change Status" (a custom button for each row) Users can change the row status from included to excluded or vice versa.
However before changing the status - users would need to specify the reason and enter a date for when they want something in...
Simple question which I can't find the answer to: how can I use JavaScript (or jQuery) to deselect any text which may be selected on a webpage? E.G. user clicks and drags to highlight a bit of text -- I want to have a function deselectAll() which clears this selection. How should I go about writing it?
Thanks for the help.
...
hello
i have just find this simple jquery tabbed menu:
http://jqueryfordesigners.com/demo/tabs.html
How can i add to it absolutes links to every content of the tabs? i explain:
if for example the user enters http://xxxx.com/mypage.php#Second, the tab contents second should become tabbed(opened), is there a simple way for adding this feat...
I have an ASP.NET server control which produces html. I have no control on the html produced.
However I need to style some elements in the html using jQuery.
I need to style the div shown below which has no class or id.
The first child element which has an id is the Select element which has an id=mySelectID. How do I reference the div e...
I need to change a link image on mouse hover. I used the following code but does not work. Perhaps the problem is with the image source but I still cannot find what's wrong with he code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://w...
Hey guys, I'm making a vertically scrolling site, but localScroll is flying by way too fast. Is there a way to control it's speed?
Thanks!
...
Basically, is there a way to 'cycle' through child elements.
i.e.:
some text
some more text
even more text
I want to get the text from the first '<'li'>', perform a few operations, then move on to the next one and next one until I have gone through all of the child elements. Is this possible?
...
I have ONE external JavaScript file containing jQuery, Cufon, fonts, and the replace functions. I need this file to be loaded twice once on page load and again 3 seconds after page load. Is this possible?
...
How would you go about validating 2 different regular expressions in jQuery or JS?
My JS Code:
function validate(){
var MyField = document.getElementById('MyField');
if (MyField.value == null || !MyField.value.toString().match(/^(\d{3})-?\d{2}-?\d{4}$/) || !MyField.value.toString().match(/^(\d{2})-?\d{7}$/));
alert('Ivalid ...
I've got the following code:
<script type="text/javascript">
$(function(){
$("#AddMaps").submit(function(){
var $form = $('#AddMaps');
$.ajax({
type: 'POST',
url: $form.attr( 'action' ),
data: $form.serialize(),
dataType: "json",
...
What is the best jquery tooltip plugin?
...
After posting a form to database is it possible to call a jquery from asp.net mvc.....
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(FormCollection collection)
{
try
{
//Insert to db
//Call a jquery function
return RedirectToAction("Inde...
I have a working Map function that uses a little bit of jQuery to
fetch JSON data. I have been trying for hours to update the function
for use with Maps 3.X API to no avail. I'm not very well versed with
Javascript and I made this function sometime last year.
Basically the function requires some parameters to query a url and get
JSON da...
Is there any plugin or how to display twitter like row hover reply,delete links in jquery....
Any suggestion....
EDIT:
I am iterating my json data via jquery,
$.each(data.Results, function() {
divs += '<div class="resultsdiv">
<a href=Clients/Show/' + this.ClientId + '/>Details</div>';
...
This is my HTML page.. If you copy paste this complete HTML in a browser you would see that the second section has Elements and Duration while the third section has Elements and targeted resources, In this case i want to dynamically change the 2nd and 3rd row to expand like the first one.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Tran...
Hi folks this is prob quiet simple but not sure how to do it.
I am loading pages into a div a simple like this:
$('.pageLink').click(function() {
var pagetoload = ($(this).attr('href').substring(5));
$('#adminArea').load(pagetoload+'.php');
return false;
});
That works no probs at all. Only thing is that I am using CKEditor on "seve...
Just bumped in to this great implementation on click expand http://www.timstravelog.com/lifelist/
I want to implement something similar for my own lifelist. Any recommendation on how to go about it? Is this jquery? I am a noob of shorts, so please excuse my ignorance
...
I have a code like this where I am trying to add an event handler to some button. I would like to use a global variable & store its current value in callback closure & not its reference.
var globalNum="dummy";
function A()
{
$("#button").click(function()
{
$("#button").append(globalNum);
});
}
globalNum="dummyAgain";
Now i...
How to enable rich:orderingList buttons by default
EDIT:
The First, Up, Down, Last buttons are not enabled unless an item is selected within the orderingList. But I would like to preferably mimic selecting the first element in the orderingList and enable these buttons on page load. How should I do this?
Table 6.222 on the following li...
For example, I want to show a jQuery dialog after insert or edit a record in Action, in webform I can use the follow way to register js script to the page:
page.RegisterStartupScript(key, "<script language='javascript' defer>" + script + "</script>");
but this doesn't work in MVC, so how can I do this?
thanks!
...