There are nice documentation on the jquery ui site on showing auto-complete options categorized http://jqueryui.com/demos/autocomplete/#categories
And there is also an example about showing remote suggestions.
http://jqueryui.com/demos/autocomplete/#remote
But what I want is to load auto-complete options categorized from a remote sou...
HI, I have a problem with jQuery, jScrollPane and loading data with AJAX. When I have static data a div the scrollpane works fine, but as soon as I load data with AJAX in the div the scrollpane disappears.
I know that I have to reinitialise the scrollpane after that, so I am doing this.. but probably wrong as it is not working.
So, the...
I am really new to Jquery and I have found several examples of opening a light box using cookies and the the onload feature. I am using the cookie example which works with fancybox, but I have been using prettyPhoto on all my sites and really do not want to change to fancybox. I have tried a dozen different ways to get this to work but...
hi,
Im trying to get data in pylon to use in jquery autocomplete,
the librarary i'm using for autocomplete it requires this format
abc
pqr
xyz
and in python i have data in this format
[["abc"], ["pqr"],["xyz"]
How do i convert this list to the above one.
Edit:
I trying to use these for a autocompete and i'm using pylons, in ...
I am attempting to get the height of an element on a page. I get the expected value (700px or so) in FF and Webkit on Mac, but I am getting a value of 0 in IE8. I haven't tried earlier versions of IE yet.
html:
<section>
<article>
...
</article>
javascript:
var height = myElement.outerHeight(true);
There are a number of t...
Hi guys,
I have a list that is being fed in to my page using an ASP.NET repeaters. The repeater contains a div (divContainer) with two divs (divTitle and divDetails) inside it. I'm hiding the divDetails and only want to show it if the user click on divTitle.
This works fine for me when in the first divContainer but all subsequent ones...
I have a scenario where in I have to select a row in jqGrid programatically.
From a function I will have a value of a column which is available in jqGrid and based on passed in column's value I have to search in jqGrid and when it finds a record match I have to select that row.
Not sure how to achieve this using jQuery for my jqGrid.
...
jQuery.validate doesn't seem to change the background color of the invalid element by default. Is it also possible to change the background color of a select element? Most of my elements are input type="text", but I need an indicator for the select form elements. I am not using the default generated messages, as they don't fit my layout....
Hello, I'm referencing the jQuery autocomplete plugin code seen in this tutorial:
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-use-the-jquery-ui-autocomplete-widget/
The problem with this tutorial is that it only support items found on the server. What I would like to do is allow a user to use items found on the server (as i...
Part A
I have the following:
<div class="graphic fadehover" class="last">
<img src="graphic5test image" alt="" class="a" />
<img src="graphic5-2test image" alt="" class="b" />
</div>
with attached css
.fadehover {display: block; height: 162px; margin: 70px 45px 0 0; position:relative; width: 292px; z-index: 1...
I have the following code:
<fieldset>
<legend>Do you currently have SolidWorks</legend>
<ul>
<li><label for=""><input type="radio" name="solidworks" value="Yes" id="rdYes" /> Yes</label></li>
<li><label for=""><input type="radio" name="solidworks" value="No" id="rdNo" /> No</label></li>
...
Like... the height that excludes the address bar, bookmarks, etc. just the viewing space.
$(window).innerHeight()
appears to not work.
...
I am trying to set a javascript variable to be one of a few options.
If one of a few specific link shas not been clicked (i.e. the first page load), then the variable should be set to 0 or 1 (the default value).
If it has been clicked, then I want it to get a number associated with that link.
So say the html looks like this:
<a href=...
Hello all. I've gotten stuck(again)
I have a table and one of the columns is a value that I want to be able to click, turn into an input field, then click again to change it back to just text.
I've gotten the first step done. It turns into an input field with a link to click and it uses the value that was previously in the td.
Howeve...
jQuery.each(player, function(key, val){
if (el = $("#pr_attr_plain_"+key)){
el.text(val === "" ? 0 : " " + val);
}
});
I inherited a project and I came across something strange. The guy who started the project is an expereinced programmer, definitely more so then myself. Is there any value or r...
I am using a keynav plugin that allows me to navigate up and down though a list.
This list is dynamically generated using ajax and mysql. the suggesstions appear when someone begins to search into an input box.
if the user clicks off and the list closes and then begins a new search, when the list is generated the second time, the keybo...
I am stuck on this what I am trying to do is: there will be div's with the class of feature there could be an x amount of them but i only want 5 most resent. take the img src and a.html witch is a title link from each and add each one to 5 containing divs at the top of the page. the image as a background-image and the other prepend to an...
Hello, I have a social network for the cystic fibrosis community. There is a section (s) where you can leave comments, and reply to the comments. This is generated with html,css,and jquery and works amazingly on FF,Safari, and Chrome, as you can guess, it has major quirks on IE8.
It works as it should when the comment is small, or ther...
I have a website that has in internal email system . There is a text area for the body of the email. but what I need to do is allow the user to paste a link or picture into the area. can this be done ? or is there a script etc..
Any help would be appreciated !
thanks
...
Hi,
I have an slider that ads an class (.current-item) to each tab that is on, and removes when it`s off.
I want to use LavaLamp for the menu efect and I need to get the position of the each element that has class current-item.
I used:
var my = $("li.current-item");
var myposition = my.position();
function setCurr(el) {
$bac...