I've got a small login control on my master page. On the login control, I'm using a LinkButton for the Submit button because I like the way it looks.
However, I'm also using jQuery to capture when the 'enter' key is pressed in any of the login control text boxes. It's difficult to trigger the click event of a link button with jQuery in ...
Hi there, there's a list of items on a page, some blank, with one example being:
<div class="item itemask">
<div class="tophead">
<div class="itemnumber">30</div>
<a class="article" href=""></a>
</div>
<div class="bottomhead"> points by <a class="userlink" rel=""></a> ago <a href="/item?id=">discuss</a>
...
I have a bit of a problem that's been driving me batty.
I have a page which generates a list of checkboxes based on a search. Also within the page is a dialog box designed to show up when a button is pressed. What I'm trying to do is get values from the checkboxes and pass them to a controller action which then returns the partial for t...
hi
I am defining function func1();
I want it to take some param(s) ie
var func1(aaa, bbb){
//do something, anything!
};
then i want to call it later in the doc something like this:
$('#some_id').click(func1($this));
but its not working.
I've been messing with it for a while but its very strange the way jquery/javascript handles u...
Hi,
I have a webpage on which I have a form. This form contains a button and a textbox. When the button is clicked or when the form is submitted I would like to take the text from the text box and append it to a url. The code looks like this:
<form
name="askaquestion"
id="ask-a-question"
onSubmit="window.location.href='http...
Using this as the example: http://mustache.github.com/#demo, the template and json can functionally be moved to a var:
template = '<h1>{{header}}</h1>{{#items}}{{#first}}<li><strong>{{name}}</strong></li> {{/first}}{{#link}} <li><a href="{{url}}">{{name}}</a></li> {{/link}}{{/items}}{{#empty}} <p>The list is empty.</p>{{/empty}}';
Thi...
I was reading the api about jQuery.proxy(). It looks promising but I was wondering in what situation is this best use. Can anyone enlighten me? Thanks.
...
Possible Duplicate:
Is jQuery always the answer?
Now-a-days everyone is talking only about jQuery at my work place, there are some Sr. Developer who work mostly with JavaScript and they have their rights reserved for jQuery. I am kind of little confused between jQuery vs JavaScript
What are the programming challenges which ca...
I have a form with an input element but no submit button. I use jQuery to attach an onsubmit handler:
$('#tickerbox-form').submit(function (ev) {
alert('submit'); // I have other code that actually does something...
return false;
});
I want the (anonymous function) handler to be invoked when the Enter button is pressed in the ...
I have a dynamic list of LI's inside of a UL.
I am trying to somehow be able to 'track' the last LI of the UL which has a class of Last.
I thought if I could test for the left property of the actual LI against some number, say -500, then I could do what I need to do.
The issue is I can't seem to get that property.
Is this even possib...
Hi folks,
I have just started using jQuery in the past couple of weeks and am really enjoying it - damn fantastic thing! I have one problem at the moment though. Here's the basic structure of my page:
<body>
<div id="accordionContainer">
<div class="accordionSectionHeader">
Some header label...
</div>
<div class="ac...
Hey guys,
So I am using galleria to show a slide show. I have it set to autoplay, so it shows a new picture every 3 seconds. Currently, the transition seems to be the picture sliding in from the right. Is there a way I can have it fade in? Pretty much any transition other then the sliding.
Thanks!
Kevin
...
I have two radio button in my view..
something like this..
<input type="radio" name="ObnCategory" id="Obncategory" checked="checked" />X</div><br />
<div>
<input type="radio" name="ObnCategory" id="Obnsubcategory" />Y</div><br />
I need to see which one is checked or not using jquery?
thanks
...
I am receiving a javascript error whose source line is in the jquery javascript library:
uncaught exception: Syntax error, unrecognized expression: #
I know what this error is: it usually happens if you try something like:
$('#');
However, I am struggling to debug it. It should be straightforward if I could just get a stack-trace. B...
I'm writing up custom code for a CMS for a website. When a user clicks on the submit button (created with jQuery UI), it calls the click event on the button, which in turn calls a submit event, which submits the form.
Said form also checks specific fields to see if they have text, and will show error messages and deactivate the submit b...
<table id='mytab'>
<tr>
<td colspan="6">OS</td>
</tr>
<tr>
<td></td>
<td>Fedora</td>
<td>Cent Os</td>
<td>Ubuntu</td>
<td>Suse</td>
<td>Redhat</td>
</tr>
<tr>
<td colspan="6">Versions</td>
</tr>
<tr>
<td></td>
<td>6</td>
<t...
I am using swfupload, and have a bunch of 'Attach File' links and each one of them opens up the same Jquery Dialog which is associated with 1 swfupload instance. I tried to set custom post params but it fails:
www.arianhojat.com/temp/code/swfupload/index.html
if you remove the 'setPostParam' line its fine but id like to set params... It...
Hi,
Hoping someone can assist with how to incorporate a breadcrumb menu into my website.
I basically have a sidebar menu with submenus, which I also want to setup as a breadcrumb menu.
Would appreciate some help on how to achieve this.
Any "how to" urls would be great.
Thanks.
...
Suppose you have a textarea (id="fred") that appends (.append()) or replaces (.html()) another element. The textarea's submit button is called via delegate to send the modified text blurb in the textarea... How do you select the modified textblurb, as opposed to what was originally put in the textarea via the first delegate?
...
When shift button pressed I want user to be able to only move mouse strictly up/down or left/right.
My current rough idea is to intercept all movements when shift is pressed and use events simulation to pass needed event (which will contain only needed axis movement) further.
I use jQuery Draggable so other idea is to determine when shi...