Hi,
I need help to use java script with update panel.
I have checkbox, textbox with MaskedEditExtender inside update panel in web content form.
I want to change the mask for MaskedEditExtender when I check the checkbox without doing pastback for the update panel using java script so any one can help me with that.
here is my code:
<...
I am requesting something with $.ajax and i am getting a 302 or 200 status after the call.
I want to insert something into the DOM when status is 200 and make the actual redirect when the status returned is 302.
For that I am using: (took that snippet from a diffrent thread here)
complete: function (XMLHttpRequest, textStatus) {
al...
hi,
i was wondering if there is any way to get audio signals from a microphone into javascript (interfacing with flash, processing.js, etc.). i've seen examples of javascript receiving data (a string) from flash (http://www.permadi.com/tutorial/flashjscommand/) but am curious if it's possible to record from a microphone using something ...
is there any example on using java method to call rhino-javascript function and return it back to java? The only example i found for rhino is only typing command on the rhino shell.
...
I have got one critical problem in Javascript; please help me to fix it.
I have written the onload function in one JSP page, say login.jsp.
In that function I used the window.open method to open a new window again with the same JSP page login.jsp with the toolbars disabled.
Now what is happening is that when I am opening the same page...
I try to use this tree menu in taxonomy menu[tree menu][1]
First I add js files to drupal and i add a node to the tree by using add functionn.add(16, 8, 'mytitle', 'cat/16');It works well.
The first param is node id and the second is a number referring to the parent node. The value for the root node has to be -1.
But i try use this tr...
Hello...
I want to pop up or open new form on the click of fav-icon.....
can anybody help me out for ths...
thankx
...
Is there a relatively quick program out there to accomplish at least the basics of this? Just a few regexes? I'm willing to do some manual conversion, but this is a pretty big set of scripts.
...
Does anybody know how dragging objects (divs) around on the screen by mouse-click-and-hold implemented using pure JS? I am interested in the native JS functions and the technique which may be used.
Further, how can we do this using jquery?
...
Hi,
I have used history.back(1) function of javascript to previous page.
and i have linked this function to my back , it working fine.
But when i click the back button a js alert is showing
"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed ea...
Hi,
I'm using the jQuery UI Tabs plug-in to load html pages via ajax, so I have the following html:
<div id="tabs">
<ul>
<li><a href="pageWithGallery.html" title="pageWithGallery">Gallery</a></li>
</ul>
</div>
The loaded page pageWithGallery.html contains a jQuery gallery which plays on $(document).ready.
this however do...
Just now, accidentally, i stumble upon http://www.benekdesign.com/ . Here on mouse wheel scroll it performs horizontal scroll. Truly speaking i didn't like this feature. It was a bit irritating. But still, Please tell me how to achieve the same.
Edited
Okay, firebug says he is using
/* Horizontal Tiny Scrolling - a smooth scrolling...
Why is it so that when you use window.parent.showMessage("Video Is OK"); inside a .js file you've included on a page, it won't work, but only if it's on the page itself..?
Can you fix this?
...
I have created a string builder JavaScript object and I'm using it with many different .js files in my project.
Can I create this class in a separate .js file and call it from all the other scripts that instansiate it, just like a C# class file?
Is this possible, or do I continue copying and pasting it into the bottom of every .js file...
Hi,
I constantly find myself rewriting the same lines of code in the Firebug console to test my application. The application uses UI so much that I don't think unit tests are the solution here? How could I quickly run lines of JavaScript code without typing them again and again?
...
I've faced with a next problem:
In our database we have objects with ids, like 4040956363970588323.
I'm writing some client-wizard on jQuery for interacting with such objects. Client receives base data about objects trough an Ajax request, like:
$.ajax({
url: "/api/pages/",
type: "get",
dataType: "json",
...
scrollPosition = window.frames[id].document.body.scrollTop;
The above code doesn't work correctly. Please tell me how to correct it.
...
I have the following AJAX function that calls a PHP file to determine if an email is present in a db.
<script language="javascript" type="text/javascript">
//Browser Support Code
function ajaxFunction(Email){
var url="index.php?EmailCheck=Yes&Email=" + Email;
var ajaxRequest; // The variable that makes Ajax possible!
try{
//...
I have a java applet that creates a JPEG file. I want to pass that file to a Javascript where it can display and print it. The only way I can think of doing this is to save the jpeg to a temporary storage area on the user's computer and then pass the path of the file to the javascript which picks it up and displays it. This raise...
This topic is fairly common (most explicitly detailed here: http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/), but I'm still having trouble with it. I'm trying to use the "plus" button functionality used in the admin site where one can add an additional foreign key to a linked entry. In the admin site, a popup displays allo...