I have a jquery menu that has so many entries that it extends further than the length of the page. I want to get the amount of entries in each menu section so I can use that number to resize a padding div at the end of the page.
$('.hideMe').click(function(){
alert( $(this).next('ul').children() );
});
So I want to find out the a...
Is there any way to fadeout a div after 5 Seconds without using a setTimeOut function?
...
I am trying to put some jquery UI code into an existing asp.net app, and could use a helping hand...
I have a button, when a user clicks it, I want to popup a jquery UI dialog with two go/nogo confirmation buttons.
This works except, when I click the button, it opens and then immediately closes...as a new jquery user, I am sure I am j...
Hi guys,
I'm using the exelent JQuery UI to do a "mapping" so the user can "map"
persons from one program to persons from other program.
using this simple JQuery:
$(document).ready(function() {
$("div .draggable").draggable({
revert: 'valid',
snap: false
});
$("div .droppable").droppable({
hoverCla...
I'm having some difficulties creating a javascript appointment style calendar. While it does render, I know there's go to be a much more efficient way of doing it. Does anyone have a pattern they use for creating calendars? I will be using jQuery, but I don't want to use someone's calendar plugin as a) I haven't found one that works for ...
Does anybody know if there's a jQuery based implementation for this (or similar) date slider? This one is a Prototype/Scriptaculous based solution and it's heavy in the size.
http://www.ajaxorized.com/dateslider/slider.html
...
How would I use jQuery CSS Selectors to find for instance:
css class name: "Text" which is a div inside of dom object "wrapper"?
...
I'm having a problem creating a DOM element, appending it to another element, and having it fade into place.
Obviously, this doesnt seem to work:
$('<div/>').html('hello').appendTo('#parentDiv').fadeIn();
So, what is the proper way?
...
Hi!!
I have a ActionResult named "MyPeriods(string dateSelected)" and in the end of it, I have a ViewData["periods"] = listOfPeriods (and after that, I have my return View(), fininshing up my method). When no "date" is passed, "date" is today, otherwise, "date" is the date passed as argument. And this "date" is important to select all t...
I'm trying to create a simple toggling sidebar using jquery, where it expands and contracts when a button is pressed. The button also changes to another type of button when pressed. The sidebar will expand, but for some reason, it will not move back to it's original position.
You can see a copy of the javascript and html at http://www.j...
I have some javascript that I'm trying to retool using jQuery to learn the library better and I am running into what seems to be a very elementary problem.
html:
<form id="theForm">
What would you like to do?<br /><br />
<input type="text" id="doThis" /><br /><br />
</form>
js:
$(document).ready(function() {
$("#theForm").submit(fun...
Hi,
Using a ajax request I want to change content of my div.
<div id="d1">202</div>
So I want to change the content to a different number.
$('d1').InnerText???
Also, say I wanted to increment the number, how could I do that? Do I have to convert to int?
...
Hi,
My .net MVC action is going to respond to ajax requests (jquery).
Do I (or should I) set the document type of my header?
I will be responding with either just html/plain text or maybe even JSON.
...
Have tried everything to get this working. Basically within each portlet there are 2 sections and users should be able to drag items from one section to the other (within the same portlet). As the sortables are generated dynamically, have tried to do something similar by creating a variable for connectWith, but keep getting javascript er...
Hi, I've a box from divs (price_item) with several child divs (date, price etc.). I'm using it as a caroussel for showing prices. If one clicks on any child, the parent's background color must be changed to red. I wrote it like:
$(...selectquery...).click(function() {
var $tgt = $(event.target);
$tgt.parent().css("backgroundColo...
For example, I'm looking at the jCalendar source, and the creator has two different parts of the plugin, one function under "jQuery.jcalendar" and another "jQuery.fn.jcalendar". What is the purpose of having the two separated? What one do over the other?
...
I am running ASP.NET MVC Beta. I have an AJAX call running through jQuery which grabs my form values and posts them to a controller action. If I run this call without AJAX in a normal form post scenario, everything comes through correctly. However, once I incorporate the jQuery code, all the form values EXCEPT the files come through. Req...
I am not sure why the following code is not behaving the way I would expect it to, but as I am new to jQuery I am sure that I'm missing something elementary.
html:
<div id="locale"></div>
<form id="theForm">
What would you like to do?<br /><br />
<input type="text" id="doThis" /><br /><br />
</form>
js:
$(document).ready(function()...
I'm still getting into JQuery. One of the most attractive elements is the plethora of available plug-ins and controls!
Of late, I've been a big fan of the Accordion. When styled and combined with some of the better animations it looks great. I've also just been introduced to the coda-slider, which also does an great job.
Help me learn!...
I have built several personal sites and now I and going to rebuild an existing one. I want to standardize on jQuery and Blueprint CSS.
I used to use a Master page for everything but that does not seem to match real well with something like Blueprint. Not to mention the pain of the master page renaming of the controls ids and applying t...