Hello all
I am using the deprecated autocomplete plugin (since I'm using the legacy jquery lib 1.3.2).
My problem is that the autocomplete plugin tries to cache the requests. I am using a server side url to return the results.
Consider this scenario:
Keyword : Results
i : ikea, iphone, ipod, ipad, iphone 4
ip: iphone, ipod, ipad, iph...
I'm wondering how difficult it would be to hand code a jQuery MP3 player vs using a plugin. All of the plugins I've found so far I'm not to impressed with, but I guess if I had to go with one, I'd go with jPlayer.
I mean just some on click functions for the buttons but I'm not so sure how to actually make the audio files play.
Anyone ...
I've been using jQuery Height function. But there was a problem in getting the correct height of my div element. This div element's height is set to auto, which means the div's height depends only on the elements inside of it. When I tried using the .height() in my page, I got the following result:
Chrome: 1276 px
Firefox: 1424 px
But...
The best way to describe this issue is probably to show you an example:
css/right aligned, works fine when clicking the arrow both ways:
http://jsfiddle.net/JDhuK/1/
css/left aligned, only works properly when left arrow is used:
http://jsfiddle.net/3nqr4/
I've provided two javascript functions(leftTest and rightTest)that you will need...
I have been reading tutorials from several different places like http://css-tricks.com/scrollfollow-sidebar/ or http://jqueryfordesigners.com/fixed-floating-elements/
and have been playing around with them but cant seem to figure out how I would be able to add more then just that one sliding box on the page. Any thoughts?
...
Normally I would create an element in jQuery like this $('<div id="errors" class="red"></div>')
Can I create an element given a selector using something like $.create("div#errors.red")? Where that would return a jQuery object representing a div with the id of errors and the class of red?
...
I have a javascript function that is called based on user actions on a page. When the user clicks, a javascript function is called that displays a message in a jquery fancybox. This may happen 10,20 or even more times while the user is on the page. This worked fine using simple javascript alerts, but I wanted it to look nicer so I'm u...
This code and problem must be familiar, but I have not found anything. Any help is appreciated.
$(document).ready(function(){
$("ul.header1").children("li").hide();
$('ul.header1').mouseenter(function(){
$("ul.header1").children("li").slideDown("fast");
});
$('ul.header1').mouseleave(function(){
$("ul.header1").childre...
I have the following code to validate some fields on a sharepoint newform.aspx. To not submit the form in sharepoint I must return a false statement to the default function PreSaveItem.
Validation:
//bind a change event to all controls to validate
$("input[title=Target Date],input[id$=UserField_hiddenSpanData],input[title=Start Dat...
I am making a call to the search method and passing a value
$('myelem').autocomplete('search','test');
Then I have an event handler for the search event
search: function (event,ui){
//I need to access the value 'test' passed from the search method in the search event
}
So far I can not find out how to access the value in the search...
While developing with Firebug I keep getting this error.
pages[x].css("z-index",x) is not a function
The function itself works fine but I'm trying to figure out why it keeps flagging this. The function is simultaneously reorganizing the array and the z-indexes.
Can i not access array variables and call functions on them like this or is...
Hello! My problem is that I'm using the CKEditor 3.4 plugin for jQuery, and it's giving me an error in IE 7+8 when executing a $(selector).val(html) call on the editor:
The error:
'this.$.innerHTML' is null or not an object
...which when run in the debugger, points to this line of code in the huge CKEditor.js:
getHtml:function(){var ...
Hi, so simple question! How can I pass a variable into a jQuery function, like in Javascript?
<script type="text/javascript">
function foo(bar) {
$("#content").load(bar);
}
</script>
<a href="#" onClick="foo('test.php');">Load</a>
The above code doesn't work, clearly, but hopefully you can get an idea for what ...
I have 'n' number of javascript functions in javascript which nearly gets an element and sets its display property.
function ShowDivforassignclick() {
document.getElementById("FollowupDiv").style.display = 'block';
document.getElementById("datatable").style.display = 'block';
}
function HideDivforassignclick() {
document.get...
Hello,
I hope this isn't too confusing, but i think it's fairly basic.
I am trying to pre-populate some data into a form, which was previously entered into a form and then populates the form again on a future date (like a save feature)
So when the user SAVES the form, it inputs into the Database JSON data of the entire form fields an...
I am redirecting my user to my default.aspx when his session expires and default page is referenced under a master page. I show a notification like twitter stating Session Expired what happens is it works fine in firefox and google chrome but not in IE. I get Internet Explorer cannot open site-http://localhost:1335/order/Default.aspx?Sid...
Hi folks,
I have some MultiPolygon data (The USA state of California) which I'm trying to display on a Google Map (v3 Javascript API).
The link to the data is here on CodePaste.NET. (Note: I pasted it there because the data would spam this post).
So I've tried to make it into some Json data .. and then display that MultiPolygon on a g...
Hi,
Im am using errorPlacement to add a class to a label to show a graphic element in addition to the error text ( they are both different elements).
Is there a way to use a callback that will fire when the validation of a field is successful? I am already using validClass, that will change the error message, but I need a call back so ...
In the following code
<script>
$(document).ready(function() {
if(load_flag == 0)
{
var html = '';
html += "<div id ='err_msg' style='display:none;'><b>Preview errors</b> <br></div>";
html += "<div id ='cont' style='display:none;'><input type='button' value='Continue' onclick='javascript:s...
Hi there
My question is kind of hard to explain, but I'll try it as best as I can.
I have a jquery paginator without history support. So I understand that clicking on page 5 and then 8 and then pressing browser back would go out of this page. It doesn't bother me.
What bother's me is that pressing page 5 and clicking on a link in this...