Hi this should be a really easy problem but i am stuck. Is it possible to fade out the text inside a text box and textarea and leave the actual element in place. I have tried fading out using .html() .val() etc but the element that the text is in is always faded too.
...
hi i am implementing a live search (=search as you type) feature in my webapp.
currently i am using the keyup event to send the search request via ajax post e.g.
$('#SearchField').keyup(function(e) {
$.post(
...
);
});
but this leads to some kind of lag problem, in some cases when i search, for example after...
Is there a way for the JQGrid to return an array of column Data for using multiSelect as opposed to just an array of rowIds ?
At the moment I can only return the last column data that was selected.
jQuery("#buttonSelected").click(function() {
var ids = jQuery("#relatedSearchGrid").getGridParam('selarrrow');
var c...
I don't understand why the test in jQuery's parseJSON function:
/^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@")
.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]")
.replace(/(?:^|:|,)(?:\s*\[)+/g, ""))
returns false for the string:
{"TermTitle":"some...
when using jgrowl and if we invoke the following to close all the menus
$.jGrowl(data);
$.jGrowl('shutdown');
How to start it back.
The following gives an error
$.jGrowl('startup');
Thanks.
...
I would like to be able to log the key presses on a specific page, trying to implement an 'Easter egg' type functionality where when the correct keys are pressed in the correct order it triggers and event.
Can anyone give me any pointers?
...
I'm building an AJAJ (AJAX with JSON) webapp with jQuery and I'd like my users to be able to bookmark a page that saves all of their setting selections for a certain part of the app. I've got quite a bit of data that needs to be saved, so I thought JSON might be the best way to save this, putting it into the location.hash.
That being sa...
Hello folks,
I have been struggling to get my jquery call to a webmethod to work. I am being bounced by the server with a "401 Unauthorized" response. I must have an incorrect setting in the web.config or somewhere else that would be preventing a successful call.
Your insight is appreciated!
Call to js function the invokes the jquer...
Hi all,
I want to pass a dynamic parameter with qTip, but it fails. my_ajax_controller.php just displays the variable type, but not q.
$('a.menu_help').qtip({
content: {
url:'my_ajax_controller.php',
data: 'type=help_menu&q='+$(this).attr('id'),
method: 'get'
},
show: 'mouseover',
hide: 'mouseout'
});...
Hello,
I'd like to basically have a Title field and a Title for URL field.
So basically the user inputs a movie name: "From Paris With Love" and it would be in the field below as "from-paris-with-love".
However I was wondering if there's something similar already out there and knew someone here would know! ;)
Aaron
EDIT:
http://w...
Hey,
Any ideas why this isnt working?
I want the images in the sidebar to go opaque when hovered.
//Opaque image hover
$('#sidebar ul li img').hover(function() {
$(this).animate({opacity: 0.8}, 500);
}, function() {
$(this).animate({opacity: 1}, 500);
});
<div id="sidebar"><!--Sidebar s...
Hi Experts,
I am working on a website, where we want user to login using Javascript and not using
postback. I have few pages which user can view without logging in, but on these pages
if he wants to do something like "Add to favourite" or "Report abuse" or similar, he has to log in. I can display a div where he can log in. But I want t...
I'm successfully inserting a row into my table via
$('#fbs tr:last').after('<tr><td><input id="vm" type="checkbox" /></td></tr>');
However after that I'm trying to select $('#vm') and not receiving anything. Everything looks right but jQuery isn't finding the element.
...
I have a jquery toggle that swap between two layouts. I need to set a cookie so it dosen't reset every time the browser is refreshed. How can I implent this in this script:
<script type="text/javascript">
$(document).ready(function(){
$("a.switch_thumb").toggle(function(){
$(this).addClass("swap");
$("ul.display").fadeOut("fast...
Within SharePoint...
I can create web parts which are ASP.NET web apps, which allows me to get information about the current user (groups they are in, username, etc.).
I can create web parts which allow me to manipulate fields on SharePoint forms.
But I have not found a way to be able to combine the two things.
I can't access the con...
I'm trying to take the id of a mouseover and strip out part of the ID, to leave me with just the core text I need to act on.
My mouseover will return an id such as "nevadaActiveArea", but I need to manipulate that string down to just "nevada". All the searches I've run speak to how to do this on the contents of some element, but I just ...
I am using jQuery Form Plugin to submit (POST) a WebForm.
Everything works great if I put my controls on that form.
When I add (append) dynamic fields using jQuery (text or hidden) it seems that my fields cannot be sent.
Is there anyone who experienced the same problem?
...
Hi, my question is this:
I have HTML code in multiple pages, on each of them I used a JQgrid (jquery grid) for display some data. I knew that on each of those pages, the element that holds the JQgrid is named as "LIST_xxx". Now I need to make a javascript that takes that element "LIST_XXXX" on each page and does some stuff. How could I ...
I'm using AHAH to load a piece of HTML after the document is ready. There's a button in that chunk of HTML I would like to apply a .click event to. I'm having trouble applying that event after the HTML is loaded. The call back is very generic and is used by other parts of the page so I would prefer not to fill it up with specific code. A...
I've been exploring ideas how to create thumbnails from a user upload and store them in a directory and then use that thumbnail to display the original. I've been reading posts about phpthumb(), wideimage, imagemagick, and php's GD.
I need some advice on which would work best for my requirements.
When the user uploads a source photo...