what do people use when working with complicated framework - dojo , jquery etc
vs2008 plus ie has nice debugging
plain editor plus firebug is ok
but what about intellisense, are there any editors that can deal with these complex frameworks
any other 'must have' tools
...
I have an array. What is simple way to loop array and display value in paragraph putting one in each line
...
Hi,
I am trying to set two side-by-side divs contained by a single larger div to equal column height. I am trying to use the following jquery script:
<script type="text/javascript" language="javascript">
function pageLoad() {
$(document).ready(function() {
setEqualHeight($(".instructionsPa...
I have the following paragraph to which content of array added
$('#pop').html(arr.join('<br>'))
I want to do like clear and add.
$('#pop').text('').html(arr.join('<br>'))
...
What is the procedure for installing JQuery, Because i am new to this software
...
I see a lot of google posts on this but all seems to be talking about how this is in progress. Does anyone know of a working version of jeditable and autocomplete functionality working together so i can click on text and get a textbox and have autocomplete functionality working against that textbox
EDIT:
I am opening a bounty, as it s...
I have a form where a user can select a list of events, each event has the start time as a classname. When the form is submitted, I need to check if the user has selected more than one event with the same starttime.
e.g. In Today if the user selected Event A and Event C, it would trigger the validation message.
<form>
<h3>Today</h3>
...
<span>This is the span I want to select</span>
<div>something here</div>
<a id="start"></a>
Suppose can only access $('#start'),
I tried $('#start').prev('span') but not working.
...
I'm trying to use the JQuery validator on a form and am trying to figure out to get the messages of the errors in the invalidHandler option (or if there's somewhere else, do tell).
When a user clicks the submit button, whatever the first error is, I want to display an alert box with the message of the error. I don't want the error to be...
if someone just write:
$("#downloadTabs>div").each(function(el) {
el.setStyle("display", "none");
el.removeClass('active');
});
I would know what is this used for.
But the actually code I read is
$$("#downloadTabs>div").each(function(el) {
el.setStyle("display", "none");
el.removeClass('ac...
I have an ActionResult returning this :
return new JsonResult() { Data = new { isDeleted = isEntityDeleted } };
in javascript , the value returned by that ActionResult is "{"isDeleted":true}" , which is an object called data, but if i try to access data.isDeleted i get undifined
What am i doing wrong?
Edit:
javascript code:-
$.p...
How to set a cookie named 'test' and value '1'?
EDIT
especially,how to unset?
...
I have a custom onclick handler for a block element (set up through jQuery's .click() method). This block element can contain links.
I'm fairly certain this is possible, so, how do I have the handler simply return if it was a link I clicked on (so that the link is visited without running my code)?
...
$("span.ws_label").click(function() {
})
By selector "span.ws_label" there are 5 elements selected,
when one of them is clicked,
how to know which one actually?
EDIT
I must get the index or its id,$(this) is no use to me.
...
Hi
I'm trying to call a pagemethod that doesn't have any parameters, and I can't seem to get it working.
If I have a single parameter in the pagemethod it works fine.
$.ajax({
type: "POST",
url: "Default.aspx/getLastCallData",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
aler...
Hi All
Can someone explain to me how to get the height of one element, and then re-use it elsewhere on another element, using jQuery?
For example, to have 2 divs, 1 & 2, and to get the height of div 1, then have an on-click event on div 2 that animates it to the same height as div 1.
Cheers
...
i want to disable the click handler when the toggle animation is showing so the animation won't build up because of multiple fast click. thanks
jquery script:
$("#button").click({
$(this).unbind('click').next().toggle("slow",function(){$('#button').bind('click')});
});
html code
<div
<a href='#' id='button'>Toggle</a>
<div...
At the moment I'm using the post method like this
$.ajax({
type: "POST",
url: "Servicename.asmx/DoSomeCalculation",
data: "{param1ID:"+ param1Val+"}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
UseReturnedData(msg.d);
},
error: function(err) {
al...
The content of a page is loaded inside a div:
<div id="content">Some content</div>
The div has a fixed height and uses scroll in case of overflow. I want to adjust the height (make it smaller) of the div onload if the content does not need the fixed height of the div. How can i meassure the height of the content inside the div?
I tri...
Hi friends,
I have a big div element at header and there are many text contents and some boxes in the div. and i have a big img as bg for this div, now i need to make a slideshow for this div's background :/
How can I make slideshow for a div's background image?
I researched a lot, but could not find anything :/
Thanks a lot! apprec...