when a link is at the bottom of the browser window and user click it to show some content, I would like the browser to scroll down so that the shown content is located at the top of the window to be visible. how to do this in jquery?
...
I'm submitting some comments via $.ajax. However I want to check to make sure that some content is entered in the input box. At the moment I am using this:
if ($("#comments").val().length != 0){
However this only works if a user leaves in the input blank, if the leave a space or return then it will pass. How can I improve this if?
...
I've done a lot a looking for a solution, including trying to put in the Mark Of The Web, but when I put a plain HTML site on a USB and launch the index page I get a security warning that Active X is trying to activate.
this does not happen when launching the page from our raid server
the page in question does not have
any javasc...
hi to all
I have a sprite menu and I am using jquery for the mouseover, mouseout and click. The mouseover and mouseout work fine but I want is if I click and selected a menu then change the background position. It is now my problem, it doesn't work, maybe because once I click a menu then the mouseout still triggered.
here is my jquery...
I have a table in which i add rows dynamically and i want to add a vertically scroll to the table when its width get 300 or more. Any tips?
...
I'm using YUI(Yahoo UI) rich text editor control in my MVC view page. I need to do a jquery required field validation.
It shows error message when submit without any value in that field but it stays after typing the value in the text editor.
Please help me if anyone has tried it before or if you have any other javascript validation log...
I use EasySlider plugin and it works, but my problem is that it dosen't have any callback function or method to get current slide element. Is this possible or do I have to make my own script to get current slieds element?
http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider
...
Hello,
I'm using the filterable portfolio script by new media campaigns ( http://www.newmediacampaigns.com/page/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours ) which works fine when using normal links in a unordered list. I would like to offer the options in a selectbox though. Could anyone point me in the righ...
It is jQuery.
I have a signup form. At the domain textbox field, people fill in domain, then onblur Ajax call to registar API for validation on domain availability.
The validation may take up to 15 seconds depending on network speed.
In this waiting period, if user go to click submit button, how to block?
My idea is simple: Before an...
Hi all,
I'm using JQuery Autocomplete on a traditional html form. I'm trying to get the form to submit (the old-fashioned way lol!) when a selection is made.
Currently the input box gets filled out and I have to make a 2nd press of "return" or click the submit button.
I've tried a few examples from stackoverflow, but I could get it wo...
Hi there, i have the following link
<a href="example.com" id="example1"> Go to example....</a>
Is it possible that when a body moves the cursor over "Go to example..." it changes to "Go to example One" , i am using php and jquery. Any help will be appreciated.
...
hi,
I'm using the jQuery autocomplete plugin for a text input. When selecting an item in the dropdown list of the autocompletion choices, I loose the focus on my text input.
Can I avoid that?
Is the dropdown list an element? can I get its id or select it in some way?
Thanks
...
I have built a CMS system using jQuery and PHP, it has worked consistently for multiple users across different platforms over the past year or so.
Today as I was presenting it to a potential customer over the phone he ran into a problem in Internet Explorer 8, for some reason he was not able to log in to the system so I created a dirt...
How to add height , width unit to image using jquery , like pixel, % ect
var img = new Image();
// Create image
$(img).load(function(){
imgdiv.append(this);
}).error(function () {
$('#adsloder').remove();
}).attr({
id: val.ADV_ID,
src: val.ADV_SRC,
title: val.ADV_TITLE,
alt: val...
The title says it all really. I went through a few blogs/posts and there are some good solutions for input validations in Mvc 1.0, but most of them are about non-Ajax scenarios, so I was wondering what your preferred method is when using jQuery Ajax? Thanks.
...
I would like to push data from mysql db to div every x seconds.
at window.setTimeout(update, 60000); - how to pass in the btnStart.click function into it again???
Not too sure about the syntax for passing in function call.
Here's the code for reference
$('#btnStart').click(function() {
$.ajax({
url: "ajax.php",
type: "POST...
I have a simple webpage which has a link, on pressing it a file is downloaded(rest web service call). I need to read the file and display the contents using javascript. How do I do this?
...
I have a div on my page witch is hidden : AddSupplier, I have a button on my page witch must show the div if its not visible, but the same button saves some stuff if the div is visible. So all that is working but in this AddSupplier div there is a select box "ddSupplierTypes" and when the select box gets clicked the AddSupplierButton cli...
Is it possible to move a remote inline javascript widget to the very end of my html, and then, once the DOM is ready, inject the widget inside a specific element. I see inline javascript as a candidate for poor performance.
Thanks in advance.
...
How do I implement BUZZ (Yahoo chat buzzing) or shaking window functionality using jQuery?
...