Using Thickbox is great it allows me to load external sites into the thickbox and they retain their functionality, appearance, etc. I know how to load simple content into a div with jquery but I am stuck on how to load external content to a div in a page (preferably via onload event) and have that div act like Thickbox and retain the fu...
Basically, I'm not looking to become an expert in JavaScript. I just want to know enough to utilize existing libraries well. I'm looking for:
Books on JavaScript
Tutorials online
Anything else :)
Regards,
Sam
...
I'm working on an interactive interface using SVG and Javascript/jQuery, and I'm trying to decide between Raphael and jQuery SVG. I'd like to know (1) what the trade-offs are between the two, and (2) where the development momentum seems to be.
I don't need the VML/IE support in Raphael, or the plotting abilities of jQuery SVG. I'm prima...
i've noticed that popup shows BEFORE text gets updated in the textbox, i guess js gets called before the page gets rendered ... that would explain the 'undefined' popup ... how do i make sure js gets called AFTER the page is rendered?
rewriting to make it as simple as possible:
<body>
<form id="form1" runat="server">
<asp:ScriptMan...
Hi everyone!
I'm using jQuery Flexigrid and I can get a table cell text by doing:
$('.trSelected td:nth-child(2) div').text();
Actually, I'm doing a $.each so I can get each cell text in separate. Otherwise, if I select more than one cell, these cells texts come together as one big string.
But, the problem is: for each (td:nth-child...
I have come to find that using jquery to create html client-side can be a huge performance booster if done properly. I use ajax returning json to retrieve dynamic content and then I build the relevant html and insert it using jquery. The first time I messed with this technique I found that the string concatenator in IE's javascript per...
Hi everyone!
I'm trying to create a text edit in place myself just by manipulating jQuery selectors. But, after the first ajax callback, the others callback for the same input text doesn't work anymore...
function editaVal(celDiv, id)
{
var novoConteudo = $("<input type='text' id='novoCont" + id + "' value='" + $(celDiv).h...
my page is 2x the height of the screen (size varies depending on other item on the page). i want to show an absolutely positioned SPAN in the middle of the screen regardless of scroll position.
i apply the following style on button click, however if i scroll all the way down, the element shows up at the very top of the page since it cou...
I use the following code to call a wcf service. If i call a (test) method that takes no parameters, but returns a string it works fine. If i add a parameter to my method i get a wierd error:
{"ExceptionDetail":{"HelpLink":null,"InnerException":null,"Message":"The token '\"' was expected but found '''.","StackTrace":" at System.Xml.Xm...
I am planning to use jQuery in my new website.
I have some questions about jQuery:
if I am using jQuery in my site, will page load slower than a normal js.
our project is a social network site. is jQuery suitable for it?
Please, give me your suggestions.
...
Hello,
I am working on a web app, in which I want to have a different action to happen to an element whether I left or right click on it
So I added a function for "click" with jQuery and added a function for the "oncontextmenu" attribute of my element.
This is working well in Chrome & IE but raises a problem in Firefox: when I right c...
hi,
can we call jquery $(document).ready(function(){ } from normal javascript funtion
.like i have a button .button on click function i have to call the jquery ready funtion.is it possible.
Thanks
Usman.sk
...
So I have these checkboxes:
<input type="checkbox" name="type" value="4" />
<input type="checkbox" name="type" value="3" />
<input type="checkbox" name="type" value="1" />
<input type="checkbox" name="type" value="5" />
And so on. There are about 6 of them and are hand-coded (i.e not fetched from a db) so they are likely to remain the...
How can I get all the options of a select through Jquery by passing on its ID?
Edit: Only looking to get their values, not the text
...
I'm trying to submit a form using Jquery's ajax. It has got a few textboxes, some checkboxes, and a multiple options' dropdown (i.e multiple options can be selected).
Someone here told me that I can get values of all selected checkboxes using
$("input:checkbox[name=type]:checked")
Then I can loop through all the values returned by th...
Hi,
I have two sets of JQuery Accordions within a single DIV tag. At the moment when the page loads both these Accordions are displayed one below the other. However, I only want one of these Accordions to be displayed when the HTML page loads. How can I hide one while making the other one visible?
...
I have a few .NET developers who only want to use the MS AJAX Toolkit and think JavaScript (and any JS Library) is evil. I tried to explain that if you treat client-side development like a grown-up language you can build maintainable code ... but I assume that the classic ASP days have left a mark on these guys. Anyone have a suggestio...
jQuery has height() en width() functions that returns the height or width in pixels as integer...
How can I get a padding or margin value of an element in pixels and as integer using jQuery?
My first idea was to do the following:
var padding = parseInt(jQuery("myId").css("padding-top"));
But if padding is given in ems for example, ...
I am creating an app with ASP.NET MVC and I have the need for a wizard style interface on one of my pages.
Here is what I'm doing so far:
I have created a page with 5 divs. All have "display: none" set in the css file. When the user hits the page for the first time, I use jquery to show the first step using:
$("#callStep1").show(...
I've got a form with several search (text) fields. When text is entered into one of the fields, I'd like to disable the others. Conversely, if all text is removed from the active text field, the other fields should be re-enabled.
The basic idea would be something like this (I think):
$(document).ready(function() {
$("input[@type=...