Hi,
I am developing application in Asp.net MVC.
I submit the form with using jquery:
var Data = $("#frmForgotPassword").serialize();
$.post("<%= Url.Action("ForgotPassword","Account") %>/", Data, function(retdata, textStatus) {
if (textStatus == "success") {
if (retdata.status == false) {
$("#error").html('<p c...
I am using jquery.bassistance.de/treeview/ for my application. Can I expand the nodes only on clicking the '+" icon. currenty, even when I click the text which comes after the '+' symbol the tree expands.
...
Hello,
I am using the position option on JQuery dialog plugin. I am trying to figure out how to get just the "top" and "left" values out of this position object. However, I'm having difficulty figuring this out. Right now, I have a dialog defined as follows:
<a href="#" onclick="showHelp();">help</a>
<div id="helpDialog" title="Help">
...
hello
i have a table like following code , i want at first the child tables not seen
but when user click on the row the child table for other rows closed and
child table under this row open
how i could make this with jquery?
<table class="mainTable">
<thead>
<tr class="header">
<th style="width:33%">col1</th>
...
Hi, I'm using jquery captify to show a Change Picture link when users hover over their avatar, and I want the link to open a modal window using Colorbox. For some reason, I can't seem to bind colorbox to this link on first page load. If I click the link, the default event is not prevented and a new page is loaded - if i press the back bu...
Hello,
I have created a dialog with the JQuery dialog plugin. My dialog is defined as follows:
<div id="initialQuestions" title="Please complete the following">
[Questions]
</div>
<div id="checkField" style="visibility:hidden; z-index:1001">
<input type="checkbox" id="myCheck" value="Ignore in the Future?" />
</div>
<script type="...
Hello
I've stumpled on something queite nice, I've wanted to use in some upcoming project.
It's an animated opacity on load, or you can call it fade in.
I wondered if you could link some elements together (ex. 3) so element2 only starts when element 1 i finished, and element3 when no. 2 is?
Or should you define som kind of delay on ...
Hello everyone! I am having a spot of trouble trying to paginate some results from an XML file via jQuery, basically I need to display 10 Magazine covers and when the user either click previous or next another 10 are shown, respective of what has been clicked. Here is my code:
$(document).ready(function() {
$.ajax({
type: "GET",
...
Following this writeup, http://haacked.com/archive/2009/01/30/simple-jquery-delete-link-for-asp.net-mvc.aspx, I'm having some difficulties actually getting my page to update after performing a delete with jquery.
The delete works fine - the controller action is called, delete is handled, the object is in fact deleted. At that point the ...
In this example (which is working) on click of a button the section is toggled visible/invisible.
Great but what is the code in line 2 actually doing??
I have found a reference to the :eq(0) part here on jQuery.com but the '>' I have no clue. Under firebug it doesn't seem to matter if the '>' is there or not.
$("#btnHideShow").click(fu...
Had a idea and now trying to make it happen.
Idea: Have a HTML page with several inputs with CSS to make it look liked lined paper. Than at the end of each line move the focus from one input to the next so the user can continue input on a page mimicking lined paper.
Problem: Have no way of detecting or capturing an event when the input...
I need a sanity check as I've spent about an hour trying to figure this out!
getRows().each(function() {
alert(this); // alerts '[object HTMLTableRowElement]', nothing wrong here
this.hide(); // row not hidden - wtf?
alert('hidden'); // no alert - more wtf!
});
What can be wrong that calling hide() is bombing out?
...
hi, jQuery autocomplete plugin sent request like this
mysite.com/suggestion?term=Sadegh
is there any way to change term querystring key to another? i can't find option that provide this for me ;)
...
My javascript
$(".controls").click(function(event) {
var div = $(event.target).parents(".controls");
var a = $(div).find("tr .select");
return false;
});
And html
<div id="grid1" class="controls">
<a href="/projekt/create">Add</a>
<a href="/projekt/edit...
I've got the following property in the code-behind of my .aspx:
protected string CurrentProductView
{
get
{
string viewName = string.Empty;
viewName = Enum.GetName(typeof(ProductView), currentProdView);
return viewName;
}
}
In my .aspx I've got some Javascript tha...
Does anyone know any jquery plugin to show successful pop up message after form submission?
...
Hello everyone,
I have the following JQuery Code concerning my tabs :
$("#onglet>ul>li").click(function(){
$("#onglet ul li").removeClass('Selectionne').addClass("OngletPrincipal");
$(this).removeClass().addClass('Selectionne');
$(this).unbind('mouseenter mouseleave');
it works, but as soon as I click on a tab which le...
I have just started to use jQuery from prototype and am working with the load function to execute some scripts once the page has been loaded:
$(window).load(
function()
{
Stuff happens
}
);
However, how do you add a list of functions and control the order in which they execute? It's difficult to put everything I want to load in the 's...
Hi,
I'm trying to use Cufon on the parent li tags on a list and just regular text on the sub level items. The problem is cufon is applying it's style to all items. Is there a way to exclude sub level items from Cufon?
I've tried .parent li a:not(.parent li ul li a) but it dosn't seem to work
...
I'm trying to have the following:
There is a fixed positioned div on the bottom of my page. When the mouse enters and exits the div animates its height to resp. 100px and 50px. The default height is 50px.
I've found that Jquery does this correctly with only one big no-no. When the mouse exits while animating and then reenters again it ...