jquery

jQuery UI AutoComplete - Not aligning properly on the page

Hello, I installed jQuery UI AutoComplete and have it functioning correctly. Problem is the alignment is not right, it's off by a pixel The dynamically generated AutoComplete DIV has the property top: 169px;, when top: 170px aligns the borders correctly. Anyone know any common causes for this? I'd like to clean this up in a non-hacke...

Determine form input type from its ID returned in JSON columns

I'm returning data via JSON and attempting to loop through the JSON dataset to dynamically populate a form. I need to reference a particular field TYPE (select, text, checkbox etc) via that field's id attribute. The id attribute I'm matching against is coming through in the JSON columns. i.e. each column value in JSON corresponds to a fo...

Dotnetnuke JQuery Javascript

<TD class="CATRow11" vAlign="middle" noWrap align="left" height="100%">$<span id="MRRP" class="CATRow12">100</span><br /><span id="dnn_ctr412_ProductPage_UnitCost"><span class="CATProductListItem"><span class="CATProductListItem">$2,313.29</span></span></span></TD> Hi What I need to do is with JQuery in DNN is change the 100 to a valu...

jQuery UI Themeroller Question

I just created a custom theme at http://jqueryui.com/themeroller/ and downloaded the theme. Now how do I get started and implement the CSS? ...

jquery ui: google api : including sortables

Hello friends I have included jquery and jqueryui from google api as follows <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"&gt;&lt;/script&gt; <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"&gt;&lt;/script&gt; I want t...

JQuery Tools Scrollable: next/prev buttons?

I'm using JQuery Tools' Scrollable in a fashion very similar to: http://flowplayer.org/tools/demos/scrollable/site-navigation.html Because of the way I've got it on my page, I need to allow users to click buttons to advance horizontally within each vertical. The current tags: <a class="prev browse left"></a> <a class="next browse righ...

Order form with jQuery Calculation plugin using variable pricing

Greetings, I am trying to code a solution for an order form pricing calculator using the excellent calculation plugin. My form has two different prices for each item, one for quantities under 10 and one for quantities over that amount. This is the code I have so far: $(document).ready(function() { // bind the recalc function to t...

show selected div with radio,dropdown, and button

a have a page that consist of: <input type="radio" id="oqcline" class="section"/>OQC Line <input type="radio" id="oqcbalance" class="section"/>Balance <br/><br/> Month <select id="search_month" class="searchqp" name="search_month"> Year <select id="search_year" class="searchqp" name="search_year"> <button id="search" type="button" clas...

What JavaScript topics can't those new to the language be without?

I recently got involved with the jQuery Project and the PromoteJS movement has inspired me to spend some time writing a free, comprehensive book on JavaScript fundamentals for beginners (I feel you need to understand what JS is about to make the most of libraries). What I would like to target are topics that both total beginners and th...

Very weird behaviour for jQuery getJson() not changing values in a loop

OK, this problem is very odd. I am receiving a list of items using getJSON(). For each of the returned items, I perform a lookup using getJSON() again. Upon return of the second lookup, I try to append a variable from the scope of the for-loop to the DOM but the output is the SAME. The weird thing is that when I issue an alert() of the v...

Replace part of an HREF attribute in a link with jQuery

I'm new to jQuery and I need to replace a part of an A HREF attribute in a link. More specifically, a piece of code that will remove the "-h" from "s1600-h" for a lightbox application: In other words, turn s1600-h to s1600 Also, do I need to use $(function() or $(document).ready(function() before the piece of code? Thanks ...

Bind asp.net Server Side Data to Html Combobox

hello i want to use Jquery UI AutoComplete Combobox in my asp.net application. Here Is My Sample Code : My Combobox is an html control. how can i bind server side data to it? Or Is It possible to Use Jquery AutoComplete box for asp.net combobox? Select one... asp c ...

how do I get the Id of elements having a same class ?

i have a class .myclass i want to get the id of all textbox [html] who have this class. how i can do this. i need to do this in jquery ...

Making a GET request with jQuery like WGET

Hello Friends, i want to call a webpage from jQuery and add the content to it to a div. The downloaded data should not undergo any parsing, it should be in raw format. I try to integrate the another application to my website. I've done some experimenting and the code does a successful request, but there seems there is no result display...

tinymce: rich text mode, how does it work

I want to understand how tinymce functions. the rich text editor contains an html document within an iframe. how are the nested DOM elements inside editable, In other word how am I able to type inside a <div> or a <p> layer when there is no textarea or input field involved (at least I dont see any)? are the elements converted to input ...

jQuery append() issue in IE

Hi All, I have the following script which I am running. It loops through each table in the page and appends "Table n [Table Title]" below each table. This script works fine in Chrome, Mozilla but not IE 6 or 7. No errors are captured. Can anyone help with explaining if I have missed something here in my script or is this a bug in jQu...

How to create extend a jquery function

I'm trying to create a jquery plugin initially the plugin is used like $('element').plugin; Now, i want to extend it further to call specific operations like $('element').plugin.create; or $('element').plugin.delete; any way of doing this? ...

focus is causing problems on 1page website design

I have a 1page website that is driven by jquery scrollTo plugin which, I guess, doesn´t matter in my case. The problem seems to be the 1page design. If I click the tab, the entire design is messing up because the tab jumps to whatever it can find to focus on. That includes places that are outside of the current viewport area.Actually I d...

How do you test whether a field is of type "select" in jQuery.

How do you test an input field for type "select", e.g. for a radio button, it's if($('#' + field).attr('type') == 'radio'{ .... } What do you write for a select box? ...

use jquery in a javascript function?

NEWBIE ALERT! (C# guy trying to learn jQuery for a new MVC app). I modified some code I found on the web (Stephen Walther- http://bit.ly/bWxU3E) and modified it to use jQuery instead of the MSAjax library. It is a cascading dropdown list and some dummy data. Works great. Next, I try to put the function bindDropDownList() into a separate...