I have an ASP.NET page where I have a button When a user clicks on the button,I will check whether the user has logged in or not.If not logged in I will show a modal popup to login (using jQueryUI). I have placed one textbox(txtPassword) and one button(btnLogin) control in the Div which will be shown by the jQueryDialog.But in btnLogin's...
Hi,
How to insert into database on every editInplace in JQuery..
<script type="text/javascript">
var increment = 0;
$(document).ready(function(){
$(".menu a").click(function () {
increment++;
$("<div> Label </div>").appendTo(".menu li").addClass("d...
I'm working with a mess of HTML markup. In order to get reliable matches I have resorted to explicitly querying a chain of elements using the '>' operator.
For this question I am attempting to select the parent of an explicit chain of descendents.
For example, I'd like to select the table element with class 'toolbar' in the following H...
I have a HTML table with various rows, each have a delete button with a class.
On the DocumentReady event I wire up all buttons with this class to handle the click event.
On the click event it does a jQuery post which deletes data from the database and returns the table with the removed row.
If I go to click another delete butto...
I need to change the height of a textbox using J-query. I need to write this code in an external .js file. How do I access textbox height in J-query in the external .js file?
...
The swf movie sits on top of everything including the stuff that comes up in thickbox. I have no idea why this is happening.
This problem is only on IE7 (so far) but is likely to be in at least IE6 (I don't have IE6 to test on). BElow is the code I am using to embed my flash movie:
<div id="flash">You need the Flash Player to view this...
HTML Code:
<div id="1" class="master"></div>
<div id="2" class="slave"></div>
<div id="3" class="slave"></div>
<div id="4" class="master"></div>
<div id="5" class="slave"></div>
<div id="6" class="slave"></div>
let's say, we use $('div').click() to make these DIV elements clickable:
$('div').click(function() {
var el = $(this);
...
Hi,
This question might sound subjective but I really do need to make a choise and in order for me to do that, I need some experienced voices.
Is there a resource, link or opinion that describes when and considering what issues to use the jquery's html(val), text(val) and append(content) for injecting content into an element?
are thes...
Hi everyone! Ok, I have a very silly question to ask (which Im rather embaressed about I must admit!). Im using the nyroModal plugin for jQuery within an ASP.NET 3.5 WebForms app. Basically, let's say I have a hyperlink pointing to http://www.mysite.com/GetData.html?id=100
When the link is clicked, I want GetData.html to extract data f...
Okay having a bit of trouble here, wanted to disable some of the options when selecting a radio. When ABC is selected disable the 1,2 & 3 options, etc...
$("input:radio[@name='abc123']").click(function() {
if($(this).val() == 'abc') {
// Disable
$("'theOptions' option[value='1']").attr("disabled","disabled");
$("'...
When I try to place an element on top of my jQuery Cycle element, it doesn't work. The element is always behind the jQuery cycle element. I use float: right; to position the element, and set its z-index to 100000, to no avail.
Firebug sees the Cycle element and its children as having low z-indexes, and shows the floating element to be ...
Hello StackOverflow,
I'm having some issues with some jQuery code, and I'm hoping and thinking that the solution is relatively simple.
Say I have a table like:
<table>
<tr>
<td><input type="checkbox" name="hai" value="der" /></td>
<td><a href="mypage.php">My link</a></td>
<td>Some data</td>
<td>Some more data</t...
Hi,
How to insert into database while clicking the save button of editInPlace In JQuery. I'm using CakePHP and MYSQL.
...
Hi,
I'm trying to change the width of a JQuery dialog after it has been initialized. Here is my initialization:
$(function() {
$("#dialogContainer").dialog({
title: 'Some title',
resizable: false,
bgiframe: true,
overlay: { opacity: 0.3, background: "white" },
position: [200, 200],
autoOpen: false,
height: 150,
width: 'auto'
modal: tru...
I am busy writing a simple Adobe Air app using HTML, jQuery and some jQuery plugin to load RSS feeds.
The problem I am having is that I am generating a section of HTML components (buttons) so that I can execute specific code on button click. But when the page is displayed the button never executes; I have tried using the built-in log fu...
In IE7, this code isn't working properly:
myJqObj.css("height", DEFAULT_HEIGHT);
When it runs, it seems to set the height of myJqObj to 0; However, if I query the height immediately after setting it, everything works fine:
myJqObj.css("height", DEFAULT_HEIGHT);
myJqObj.height();
This also works:
myJqObj.css("height", DEFA...
I am using beforeShowDay to highlight special days in my jQuery datepicker. The only way I am able to change the background is to use the '!important' tag in my css class. This works perfectly for all days except 'today'. The css does not change the background color, only the border.
my css:
.genEvent a
{
border:solid 1px #DC143C !i...
I've looked high and low through the docs and internet, and damn if I can't figure this out.
I would like to use jquery to select all images with a specific source and apply a tool tip to them. I have the tooltip working fine when I'm finding the target with classes, but I figured it would be a bit more efficient and avoid adding unnee...
I'm trying to figure out how to implement an AJAX login for a ASP.NET 2.0 site with Jquery. I already have a implemented other simple Jquery AJAX application on the site, but I'm unsure how to convert over the standard login control to POST via AJAX. Should I expose the login.aspx page methods? Any help would be great.
...
Looked around quite a bit, and can't seem to find a JQuery solution (maybe its just a limitation of JavaScript) for this:
<a href="somelink.php"
onclick="return confirm('Go to somelink.php?');">Click Here</a>
In the above example, when a user clicks on the link, it will only go to its href if the user clicks OK in the confirm box....