I want to trigger .change() on select, if I change option in select element by code.
I take example from jQuery documentation and added my hook to link, which after click change selected option in select. And problem is if user click on that link, then change function doesn't react.
http://api.jquery.com/change/
$("select").change(fun...
hey guys,
wonder what i'm doing wrong?
javascript:document.getElementsByTagName('textarea').innerHTML='inserted';
i want to create a bookmarklet to insert simple text to a textarea on a given webpage.
regards matt
...
Hello All,
i want to know that can we create two instance of same validator method in one js??
now let me tell u what i want exact
i have two pages basic.php another is contact.php having forms, name is basicForm and contactForm respectively , now i want to include one extrenal JS (validForm.js) file where i want to put both forms va...
HI all
I need to send an dynamically generated html to server using html form, html can be bigger size at present it is 1MB
I m sending an dynamical generated html to server using form hidden input field. at server side exception is : too large content..
The dynamically generated html is used to generate pdf and generated pdf will se...
How can I track user visit in my website?
...
Hello all.
i have a script this one.
/* Load new scripts for system */
function includeJS( jsPath )
{
var js = document.createElement("script");
js.setAttribute("type", "text/javascript");
js.setAttribute("src", jsPath);
document.getElementsByTagName("head")[0].appendChild(js);
}
/* All system will be include here. */
...
I am using the scrollable table in http://www.imaputz.com/cssStuff/bigFourVersion.html. I have added HTML5 drag and drop. Now I am try to autoscroll the table.
I have a event listener ondragleave for the tbody. but I do not know the correct event when it drag leaves the tbody. I get many dragleave so it is hard for me to isolate the ti...
Hi, I need to use an exotic font with tiny_mce, I edited the theme_advanced_fonts property and I am using the content_css property to link an stylesheets that defines my font family.
I can select the font from the menu but text is not displayed with that, so I have to edit the source html and the style property for the text to be render...
I want to display about 6 items in a jcarousel, the problem is that whenever
there are less than 6 items available to the jcarousel, it simply overlaps the
items. Like, if I have 3 items, they get overlapped on each other or separates them far apart.
What I am doing wrong ? I have set the item count, visible properties to either max ...
Hi at all,
I am registering each Ajax call with Ajax.Responders.register of the Prototype framework. The idea was to render an Ajax Spinner if a request is open.
But when a request only needs some millis, then I wouldn't show the ajax spinner. But therefore I need the parameters of the request to check for example a flag in the paramet...
I have a textbox for user to enter positive integer. User enters a lot of entires many time. Overtime, textbox has list of previous entries, when you start typing something similar to previous entry.
Sometimes, user accidentally select those previous entries. I know this one of browser's features.
Is there anyway to clear these prev...
Hi,
Can anyone please let me how to Enlarge textarea while using OnClick function or how to increase the rows on onClick?
regards
balkar
...
If I create a custom javascript Object using a constructor, Is it possible to persist the object between HTTP Requests? - like storing it in the DOM and use it conditionally ?
Will the DOM Objects persist (all client side Objects) between the HTTP Requests ..? or will it get lost after every form submit..?
Thanks
...
I have a custom Javascript object that has a few string and float members. I'd like to serialize an array of them in Javascript, assign the result to a hidden field, and then retrieve and deserialize them in the codebehind for my asp.net application.
Is there a standard way to do this?
...
Hi,
How can I recreate this type movement with jquery for images: http://www.istockphoto.com/stock-video-12805249-moving-particles-loop-soft-green-hd-1080.php
I'm planning to use it as a web page background. If it is not possible with jquery I'll go with flash as3. But I prefer jquery.
...
Hello,
Is there a way to define a dojo/method programatically, in a JavaScript function? (Instead of defining it through script type="dojo/method" within a declarative widget, for example.)
Thanks!
...
So, I got a big menu with a couple of sub-items under each menu-item. Each sub-item needs javascript-includes and in some (pretty often) cases there are 20~ includes. This obviously sucks considering the HTTP-request time blah blah.
My thoughts are the following. I'm creating a merger-file (in PHP) that will handle all the js-includes a...
Hi guys,
I'm using the mousemove event handler with jQuery:
$(document).mousemove(function(e) { updateDownloadPosition(e); } );
It works perfectly in Chrome but every other browser I've tried the mousemove event isn't fired until the mouse stops moving, instead of constantly every time it moves.
--EDIT--
Ok so as Tim Down rightly p...
Hi,
How can i set focus on the first textbox control in a popup (modal)? It's a login window.
I tried javascript, but that failed.
...
Hi there,
i have a games website. in that there are more than 4000 flash games available.
Now my problem is in my website i am getting a strange popup window whenever i first open up my web site in a day that pop up appears with sometimes google, sometimes yahoo sometimes and somee other sites..i dont know how the popups are coming..
...