i have following code to show div on page
<div id="all_users">
<div id=user11 userid=11 class=innertxt><img src=images/images.jpg width=50 height=50>
<strong>User11</strong>
<ul> <li>Email: [email protected]</li>
<li> <input type=checkbox id=select11 value=11 class=selectit /></li>
</ul> </div>
<div class="float_break"></d...
I new with jquery and I can do simple coding with it.
and I want to know about these files more "Minified" "Uncompressed" and when I should use each one?
...
i have slowly been moving from microssoft ajax to jquery for all my ajax stuff. the only thing i have left is some forms that are posting over using microsoft ajax by using Ajax.Beingform. This is an asp.net mvc site so submit should call a controller post action.
What is the simplest way to convert this to jquery so i can remove my r...
Can you bind to an object when posting with jQuery?
You can call this controller action
public ActionResult AddCar(Car myCar)
{
. . .
}
Where the properties of the form using the binding of ASP.NET MVC to populate the properties of the car.
If I am posting via ajax and jQuery can I do the same thing?
...
Looking for some assistance with my jQuery code.
I am creating a modal box, using the simplemodal plugin
I am managing to create a modal box on the click of an element, which contains a form....I would like the form to have focus on the textarea field when it appears, but am unsure of how to achieve this..
Here is my current code..
...
I'm playing around with finding and replacing text.
The only problem I'm having is finding a text string, that is not attached to an element with an ID. Otherwise, it would be easy.
I'm trying something like this:
$("*").each(function () {
$(this).html(this.html().replace('Original Text','New Text'));
});
Not working too well.
...
Hi y'all!
I'm using the source code found on this site here: http://webtint.net/tutorials/5-star-rating-system-in-php-mysql-and-jquery/comment-page-1/#comment-2562
A fantastic resource, I think you'll all agree, but my problem is that my Javascript doesn't appear to be actually executing the PHP script...
When I add a breakpoint in Ch...
I'm retrieving data from a JSON feed using jQuery and as part of the feed I'm getting 'datetime' attributes like "2009-07-01 07:30:09". I want to put this information into a javascript Date object for easy use but I don't believe the Date object would recognize this kind of format if I simply plugged it into the constructor. Is there a...
Hi,
I have, what I think is, a strange issue. I am running a simple query that finds the largest image on a page. Here is some test data - all images are 32x32 but one is sized to 300x300.
<img src="app/assets/images/icons/blue.png" />
<img src="app/assets/images/icons/error.png"/>
<img src="app/assets/images/icons/info.png" height="30...
I received some amazing help from others, concerning finding and replacing text with jquery.
The code below will find the word: "Subject:" and replace it with "Name:"
$("*").each(function () {
if ($(this).children().length == 0) {
$(this).text($(this).text().replace('Subject:','Name:'));
}
});
And this works wonderful...
I recently found myself in the situation that I needed to remove a function bound to the resize event of the window by WordPress' media manager (media-upload.js), because it was interfering with the proper use of Thickbox. The event is attached like this:
a(window).resize(function(){tb_position()})
It took me a while, but I finally fo...
I have two DIV elements.
HTML looks like this:
<div id="first"><div id="second"></div></div>
The CSS for this elemets are:
#first{ float:left; width:656px; border-bottom:1px solid #CCC; padding-top:5px; display:block; cursor:pointer;}
#second{ float: right; margin-right:10px; border:1px solid #9F0; width:230px; height:14px; backgro...
how to sanitize user inputs that you gather by jquery .val() so you can write it in a dataString... in the example you see below when user writes
if some text that contains & the rest
of the comment doesn't seem to work
fine because it counts the rest as an
other variable to POST..
is there a sanitaziation or
serialization co...
I have a table where i want to change cell background on mouse over and mouse button down, my current solution doesn't work as I want it to :
function ChangeColor(sender) {
sender.style.backgroundColor = 'yellow';
}
var clicking = false;
$(document).mouseup(function() {
clicking = false;
});
$(document).ready(function() {...
Hello, I have this html code that i want to edit with jQuery.
Here is the html.
<html>
<head>
<title>JQuery Problem 1</title>
<script type="text/javascript" src="jquery-1.4.min.js"></script>
<script type="text/javascript" src="problem1.js"></script>
</head>
<body>
<ol>
<li>Comp 250
<ul>
...
Looking to add a toggle button to categories on a bbPress site, something like a + and - that will open and close the category box.
Anyone done this with a bbPress site? I have the jQuery toggle in place just need a way of getting it to talk to the forum categories as the cats don't have unique ID's applied to them and I also need the t...
Hello, I am trying to get an id value of a link with jquery then send that id to a php script (in this case sending it to a php sql query).
I have a link like this on the main page:
<a href="#" id="category1">Category One</a>
when this link is clicked, I would like jquery to grab the id value ('category1') and place it in a seperate ...
Hello I have this list that i am working on. When i move the mouse over a list item i want to change the border color of the list item to red, and when i move the mouse off, it should change back to white. Here is my html
<html>
<head>
<title>JQuery Problem 1</title>
<script type="text/javascript" src="jquery-1.4.min.js"></...
I'm trying change an input mask for textbox when the the check box has been check or unckecked but the problem that always is picking up the else condation only even the check box it is check or not.
please advice to fix this problem.
here is my code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Imam.Master" AutoEventWireup="true...
Given the following javascript:
function foo(selectControl) { ... }
and the following html:
<select onchange="foo(this)"> ...
In JQuery, how do I simulate the following functionality:
$('#selectList :selected').text();
when instead, I am passing around the real DOM object. I know I can wrap the DOM object up and invoke operation...