HTML:
<div id="panel">
<table>
<tr>
<td><input id="Search_NazovProjektu" type="text" value="" /></td>
</tr>
<tr>
<td><input id="Search_Popis" type="text" value="" /></td>
</tr>
</table>
</div>
I need to select all inputs in the particular div.
This's not working:
var i = $("#panel > :input");
...
Hi,
I have developed a jquery plugin for facilitating Ajax requests.
For debugging purposes, I'd also like it to optinally check dynamically loaded html / xhtml code for well-formedness. Is there any easy to do that with jQuery?
Thanks,
Adrian
...
Hello,
I am attempting to prevent default anchor behavior in Safari using the jQuery library. Unfortunately, the standard techniques of returning false or using event.preventDefault() do not seem to be working in Safari.
Could anyone help me with this issue?
The code I'm working with is like this:
$('#main .green-tabs a').live("cl...
<table width="600px" id='testTable'>
<tr class="red"><td>this</td></tr>
<tr><td>1</td></tr>
<tr><td>1</td></tr>
<tr><td>1</td></tr>
<tr class="red"><td>1</td></tr>
<tr><td>1</td></tr>
<tr><td>1</td></tr>
<tr class="red"><td>this</td></tr>
<tr><td>1</td></tr>
...
Hi,
I have a pop up form that i wish to close on successfull submit of the form. Currently we are only validating on the server side which will create an unordered list of validation errors with the class .error_message.
Once the form has been successfully submitted i want to close the window.
Currently the jQuery i am using for this...
Hello,
Am trying to find some text only if it contains english letters and numbers using Javascript/jQuery.
Am wondering what is the most efficient way to do this? Since there could be thousands of words, it should be as fast as possible and I don't want to use regex.
var names[0] = 'test';
var names[1] = 'हिन';
var names[2] = 'لعر...
I need to present millions of rows of data to users in a grid using JavaScript.
I don't want the user thinking about viewing finite pieces of data (ie. pages); it should appear that all of the data are available. Rather than downloading all the data at once, small chunks are downloaded as the user comes to them (by scrolling, keying in ...
Hey Everyone,
I just came across this weird problem that is happening in IE. In the html I am adding an onclick event to an element that calls a function to change a page like this,
onclick="changePage(1, 2);"
Inside the changePage function I am changing the currentPageNum, and nextPageNum of the forward and backwards buttons when th...
I'm trying to figure out how to create a multiselect form that has two selects that allow you to move criteria into a third select. I did take a look at:
http://www.quasipartikel.at/multiselect/
and
//http://www.erichynds.com/jquery/jquery-multiselect-plugin-with-themeroller-support/
(I'm new, so I can only post one link... :-) )...
I have a footer that is fixed to the bottom of the viewport. I am using jQuery toggle to open a comment card for users to comment and submit:
$('a#footer-comment').click(function() {
$("#comment-card").toggle(300);
return false;
$('#comment-card').show({ position:);
});
$('a#footer-comment-hide').click(function() {
$("#comment...
i have tried jQuery('#form_id').serialize(). this returns only the form data as a url encoded string. is it possible to get the form data as an object?
...
i have a complete DIV in wich a have a gridview and a multiview with codebehind action:
<cc3:CRDataSource EnableViewState="true" ID="DsOpciones" runat="server" SQLSelect="CartelElectronico,OpcionSeleccion_Todos">
<Parameters>
<asp:QueryStringParameter Name="@FactorEvaluaci...
For reference, please look at mobilityidaho.org. I am using the superfish plugin with jquery and everything works great except in IE6 (I guess I shouldn't be that surprised). If you go to a secondary page http://mobilityidaho.org/travelers-guide for example, and hover over the "traveler's guide" menu link, the child ul displays on hover,...
I have looped through a simple gathering data and pushing it into an array. I am then trying to send that array to a page method (.aspx). There is something about the array that it does not like I think. Here is my code:
//packaging table data for submit to server
$("#saveToDB").click(function() {
var dataFo...
Is it possible to have a bunch of <select> dropdowns in html that only display a small (say 10 pixels wide) icon, but when you click it the drop down has a list with the icons beside a descriptive string. (Let's see if ASCII art works on SO):
[X]
| X - Disable |
| v/ - Enable |
| O - Ignore |
+-------------+
[O]
[v]
[X]
Can that be...
Hey,
I need a regular expression to solve the following problem (links to similar problems is also appreciated, related tutorials etc.):
"__some_words_a_b___" => "__some words a b___"
"____" => "____"
"some___words" => "some words"
So I want underscores between words to be replaced with space and keep leading and trailing underscor...
I am using the jQuery $.ajax() function. I have put this into a parent function, which passes some values into the ajax function. What I would like to do, is have a user defined callback function, which gets the data param passed in from the ajax success function.
Here is what I was thinking would work, but it is not:
testFunc = func...
Hello,
I am loading some text dynamically into a div, but have the problem that everything below this div is moving around depending on the content loaded.
How would I limit the space belonging to the div with the dynamic content, such that the user only sees the text changing not the layout of the page.
thank you.
patrick
...
Hey guys, the following snippet of jQuery code seems to work fine in Google Chrome and Opera, but nothing happens when I try hiding/showing the related div in Internet Explorer or Firefox. Any ideas?
$(function() {
$(".paste-meta-small .right a.collapse").click(function(event) {
$(this).parents(".paste-meta-small").next(".highligh...
<script type="text/javascript">
(function () {
var ButtonGroup = YAHOO.widget.ButtonGroup;
var onCheckedButtonChange = function (p_oEvent) {
};
YAHOO.util.Event.onContentReady("mediaFilterButtonsFieldset", function () {
var oButtonGroup = new ButtonGroup("mediaFilterButtons");
oButt...