New to jQuery but quite fascinated with it and really loving it. Starting to turn me off, though, with this problem. Would really appreciate any help. Spent the last week trying to make heads or tails out of it. I apologize if this problem has been posted before.
I have a list of products. Each product is enclosed in a <div>. Insi...
I have a dialog, and I have a datepicker field on the dialog.
When I open the dialog and click in the datepicker field, the datepicker panel show behind dialog.
I try more properties: zindex, stack, bgiframe, but not success.
Someone can help me?
Tks.
...
I am performing a jQuery .ajax() call that returns a List<string> of IP addresses on a specified subnet. I use a [WebMethod] on an .aspx page to return the values. ASP.NET's built-in JSON serializer does the magic to return the actual JSON used in my Javascript.
I have profiled the the server-side time, and it takes about 8 msec to po...
I'm doing a e-commerce type of website, and it has a CMS wherein the admin user could create themes and change current theme design.
I use jquery. the style/theme properties are stored in database and retrieved to an xml.
and i use jquery to manipulate the CSS properties of the page using the xml's properties..
is this the practical w...
I have recently been thinking alot about where to draw the line, and I wanted to get some answers from you experienced developers out there. When is it acceptable to reference jQuery in a web app?
Some supporting arguments for Always Using jQuery:
You can reference jQuery from Google's repository, where it might already be cached on ...
I have a server side button as
<asp:Button ID="btnSummary" runat="server" OnClick="btnSummary_Click" Text="Next" />
I want to attach the JQuery Click event using its ID and NOT using the alternative class attribute way.
I tried to attach the click event as:
$("#btnSummary").click(function()
{
alert("1");
...
CSS:
#outer{
background-color:#FFFF99;
}
#inner1{
float : left;
}
.New1{
width: 62%;
}
.New2{
width: 72%
}
I need to be able to change the class of a div after a condition in an event handler.
Logic:
case '1': <div id="outer" class="New1">
</div...
Hi all,
Im afraid its another noob question...lol. Being relatively new to javascript/ajax/jquery..programming ingeneral... I am fumbling where blind men drive chariots, so please go easy:). I am wanting to post 3 values to the database, 2 of which are results of a mysql query(Im not sure if I am doing this right, so feel free to correc...
I'm trying to make my own WYSIWYG editor. Is there any way, how to get the text which has user selected in textarea?
For example, if user selects some word and then clicks button, how do I find out which text was selected?
I'm using jQuery.
...
I am trying to create a form that posts data via JQuey and populates the return into the same DIV. This way the page does not refresh on post action.
<div id="add_value_form">
<form method="POST" action="#" onsubmit='return false'>
<!-- input fields -->
<input type="submit" value="Add" onclick='post_form("/add_value");'>
</form>
<...
I have the following JavaScript (I'm using jQuery):
function language(language)
{
var text = new Object();
$.ajax({
type: "GET",
url: "includes/xml/languages/" + language + ".xml",
dataType: "xml",
success: function(xml){
$(xml).find('text').each(function(){
text[$(this).attr('id')] = $(this).te...
for(var n=0;n<10;n++)
{
$('#content-scroll'+n).mousewheel(function(event, delta) {
if (delta > 0) sliderUp(n-1);
else if (delta < 0) sliderDown(n-1);
return false; // prevent default
});
n++;
}
I have a problem with this code, variable "n" is not passed right to the mouswheel function which will add mousewh...
In my online store, I want to implement an interface like Amazon's for selecting product size and color. I.e., instead of radio buttons for the different sizes / colors, the user should see a bunch of little boxes, each containing either a swatch of color or the name of a size. When the user clicks a box, the border should change to indi...
When I search for a function in PHP I just go to php.net and search for the function I am using jQuery but am always looking for functions since I am a beginner in terms of advanced javascript usage. Is there a cool reference page like php has?
I am not only looking for a jQuery documentation but a documentation of all javascript functi...
does anyone know how to use jquery modal dialog in asp.net pages?
http://jqueryui.com/demos/dialog/
I've tried creating a simple aspx page, pasted code from the example (http://jqueryui.com/demos/dialog/), it almost works. The dialog briefly shows up and then disappears. It seems that the page is doing a postback. I'm not sure how to st...
I have about 10 pictures, when :hover each picture there is an ajax.load that will be trigger. I am about to do 10 jquery.hover, but something tells me there is a better solution.
I was thinking about somthing like
case 1 : load a
case 2 : load b
case 3 : load c
etc...
How would I do this in jquery?
Understand the 10 different pictu...
Are there any jQuery plugins or templates that people use to get poeple to stop using IE6 on their websites?
I recently saw a plugin that was very obtrusive and offensive that "warned" users of evil of IE6. I am looking for something one can show their customers.
...
function modifyDatabase(tabla, id, objData, callback, arrayCallback){
$.ajax({
url: 'modifyDatabase.php',
type: "POST",
dataType: "json",
data: 'tabla='+tabla+'&id='+id+strData,
success: function(data){
callback(data);
},
});
}
var obj = {
set: function ...
I'm having trouble with my tablesorter and ajax div content update. Once the ajax is reloaded all the tablesorter functionalities are lost. I've tried livequery but it doesn't seem to work beyond first listing of the table.
<script type="text/javascript">
$(document).ready(function(){
$(".tabs > ul").tabs();
$("#sort...
I need to vary a table's width after a click event in jQuery.
HTML:
<table class="zebra" border=0>
Case 1:
$("table.zebra").css("width","600px");
Case 2:
$("table.zebra").css("width","200px");
CSS:
table.zebra{}
table.zebra tr.even td, table.zebra tr.even th { background-color:#FDD017; }
table.zebra tr.odd td { back...