select

Simple jQuery current selection function??

I have a few lists, and when a user clicks on an item I would like it to change the class to current, but if a users then clicks on another item in the same list to switch that to current and remove the current from the previous item selected. any quick examples, i know this is probably out there already but couldn't find a good examp...

calling jquery ajax() with drop down menu?

im working a domain check script it works fine when i call ajax on keyup but by default the dropdown has the .com what if the user chooses a domain that is already taken, how can i get this script to do another check when the users switch from .com to .net or .org? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://...

When I use jquery's .hide feature to toggle some div's, the divs overlap following divs (only in ie8)

I am using jquery to hide and show some divs, based on select box choices. When I change the value of the select box, the action that should happen does, but the div that is shown is underneath the next div (the div's arent being "pushed" down). this is the jquery code: <script type='text/javascript'> $(document).ready(function(){ ...

Select two datacolumns from a datarow in linq (vb.net 3.5)

Dim orders = From tt In testTable _ Order By tt.Item("OrderNumber") _ Select tt.Item("OrderNumber"), tt.Item("OrderId") This is breaking. Is there a way to do this? I would have thought it was easy enough. Obviously, I thought wrong.... ...

How to modify a created list to add a link in jQuery to each entry

I have a script from the web which helps me to convert a html SELECT element into a styled drop-down. The script can be found here.. http://www.brainfault.com/demo/selectbox/0.5/ I am good so far and the script is working. I have a nice decorated dropdown menu and in Firebug is shows up in a unordered list structure just as expected.. ...

how to submit multiple rows selected on row click to database in JqGrid?

i have a JqGrid and when I have to select multiple rows ....and click on a release button it need to send that columns to database . How can I achieve this? Do I have to send the data in JSON format ? ...

How to login a user authenticating username and password against a MySQL database?

Hi All Nightowls out there :), I need to authenticate username and password provided on a login page against my database table, named regdata. Upon successful authentication, the user is taken to /countdown_clock/countdown.html. When I run the page, I'm not taken to the specified countdown.html, but the same page refreshes with /auth...

Any jQuery plugin that could replace html select tag?

It's nothing new - select tag looks damn ugly. Is there nice jQuery plugin out there that could replace it with ease? ...

Roll back selection on multiselect change event

I have set up a multiselect select box and am successfully limiting selection to (say) 5 elements. I can detect when the max number is exceeded, but I can't work out how to roll back to the previous selection so as to be friendly to the user. I tried to return false, but that didn't work. I don't want to try to remember the last valid ...

Oracle SQL - select within a select (on the same table!)

Hi guys, I'll try and explain what I'm trying to achieve quickly, since I have no idea how to explain it otherwise! We have a table here that shows all employment history for all employees, I want the "Start_Date" of the current post ("Current_Flag" = 'Y'). As well as that, I want the "End_Date" of the post before that (was going to fi...

zend framework components DB can't find class Zend_Paginator_Adapter_DbTableSelect

I'm using some Zend libraries outside of the Zend Framework in a small project. I'm using Zend_Db and Zend_Paginator but when I'm trying to set up the pagination using Zend_Paginator_Adapter_DbTableSelect I get an error that it can't find the class. Fatal error: Class 'Zend_Paginator_Adapter_DbTableSelect' not found in C:\xampp\htdocs\...

jquery Setting option selected with known value

I have the next select: <select name="priority" id="priority" class="update_priority"> <option value="root" label="Without parent">Without parent</option> <option value="72" label="Rank3">Rank3</option> <option value="71" label="Rank1">Rank1</option> <option value="67" label="Rank2">Rank2</option> <option value="64" ...

How can I dynamically update the selected option in a hidden select element based on a radio button state using jQuery?

I have n number of select elements in an html page that are used to allow the user to select categories. All of the selected values need to get posted to the server with name attr values of category[] (this a restriction of the CMS I'm using), but as there are in fact multiple groups of categories from which the user must choose one ea...

Using a form in a jquery accordion

I have several forms inside one accordion widget and if a certain SELECT has an option selected, when the accordion is opened to that element, the page appears to redraw. It is an annoyance, and I found if I left no option preselected, it acts as it should. However, it is kind of important to have the option preselected.. Any thought...

[Oracle] Which select Statement has better performance ?

Suppose master_table contains many records and both the "id" field of the master_table, tableA,tableB,tableC and tableD are the same in the business sense. For the 2 select statements shown belows , Will they both return the same result set? Which one will have better performance ? I think if both tableA_tmp ,tableB_tmp,tableC_tmp ...

MySQL - select multiple maximum values

I have a table called order which contains columns id, user_id, price. I would like to select each user's most expensive order - the order for which that user paid the highest price. I want to select order.user_id and order.price in the same query. ...

SQL SELECT distinct rows from a table by multiple columns ignoring columns order (significance)

I have a table People (First_Name, Last_Name). This table has records that are duplicated as in the example (not all rows are duplicated): First_Name Last_Name John Smith Alec Baldwin Smith John Angelo Gordon Mary Bush Bush Mary How do I select all distinct people? In the final output of the que...

Searching via DataTable.Select, BindingSource and foreach (C#, ADO.NET)

Hi, I have a DataTable X, if I now want to search for a certain entry, would it be faster/better to use BindingSource.Filter, X.Select() or just foreach? ...

Dropdown of Numbers

is there a built-in helper that creates a drop-down/select of numbers from start to end like 1 to 50 <select> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> <option value='4'>4</option> <option value='5'>5</option> </select> I dont want to create a custom helper or use for loop ...

How to do a SELECT LIKE with PDO Prepare Statement - are value objects of any use here ?

The point is to make a query that will grab values introduced by the user on a input box, and retrieve the database records found trough that keyword comparison. On a innodb engine, so no MATCH AGAINST available correct ? I will use LIKE on a indexed column table, hope it's ok. traditionally we will do: SELECT our_column FROM our_db_t...