I have a user control with a javascript function which references some controls within the user control.
This user control works perfectly when there is only one instance of it, but I'm now building a page where I have two instances of the user control.
In IE7, it works fine, but in FireFox, it is getting confused that there is two fu...
I need to obtain the String for the file that is being uploaded from forms to store in the database.
I am using the usual form input file element
input type="file" name="some_name"
I found a couple JS scripts that allow me to do useless things like display the string in a dialog box, etc.
I need this as an element on the request ob...
Hi all:
I am working on The ausdcf.org to try adding several banner ads in swf format to the top.
Everything starts to work, but I've got several questions that need your help:
The client chose not to go with Google AdManager, but prefer a "minimal approach" to do this task.
What I am trying to do is sort of "mimicking" the way Goog...
Hi, i am having trouble catching errors in an AJAX panel. Even when i throw an exception in the c# code behind the front end completely ignores it.
Here is the code i have setup, can anyone see why?
I ideally want to show a js alert window on error.
Code Behind:
protected void btnX_Click(object sender, EventArgs e)
{
throw new Ap...
I have this class method in a mootools class:
getData : function(){
var r = new Request.JSON({
url : this.container.getAttribute('data-url'),
method : 'post',
onSuccess : function(j){
this.cards = j;
this.prepareQuiz();
}.bind(this)
}).send();
},
In any browser aside from IE this works fine, but in IE...
I'm stuck in a rut. I hope some one can help.
Basically, I am building an AJAX mobile web app with jQuery. I am able to parse a specific XML file just fine, but I want the option to parse other XML files based on the link they were clicked on and load them on the fly into the same DIV or UL.
So:
click on Link1, loads XML1
click on Lin...
Hello all,
I am currently using the ExternalInterface to communicate between JavaScript and Flash. I need throw exceptions from Flash that JavaScript has to interpret. I know you can receive and handle exceptions in JavaScript but I was wondering if there were some kind of built-in generic way to handle exceptions, so I could use someth...
I dont know what it is called but you can see on this page http://carleypelletier.deviantart.com/gallery/#_browse if you click on a category you'll get a list and if there is a subcategory there will be a > at the end. When clicking this the menu text moves left off the menu and the new categories are in. How do i do this type of menu? i...
OP, please replace this text with a detailed description of your problem. Your code is below.
I used document.getElementById but the math is not working. I need total to be calculated:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w...
I need a tree menu. But instead of a listview where you expand/collapse i need a dropdown box with the list and when you click on a element i need the box to update (with the first entry being 'Back') so the menu stays in a neat little dialog.
Does this menu have a name? Does anyone know where i can get code to do this?
...
Preferably using JavaScript but would like to hear other ways too
...
I'm unsatisfied with other JavaScript libraries and frameworks like jQuery, MooTools, and Raphael, because of their inability to support SVG grouping. You'd think it'd be a very simple thing for them to implement.
Anyway, I'm trying to make a JavaScript class (using John Resig's class.js script) like this:
var El = Class.extend({
e...
Working in IE 8, mostly, but trying to write a portable solution for modern browsers. Using telerik controls.
I'm catching the 'Showing' client-side event of the RadContextMenu and trying to adjust it's coordinates. The clientX, clientY and x,y members of the DOM event cannot be assigned a new value. Visual Studio breaks with a "htmlfi...
Hi
The javascript generated by the asp.net SciptManager control seems to have a bug and cant handle hidden UpdatePanels. A javascript error is thrown when a control within one updated panel tries to make another update panel visible.
Is this a bug with ASP.Net ajax? And does anyone have any ideas how to get around this?
heres is an ex...
I have list items in an unordered list that when double clicked, can be edited in place via a wysiwyg editor.
$('ul.mtm_section').sortable({
disabled: true,
distance: 10,
items: '> li:not(:has(form))'
});
My goal is to prevent the list item from being sorted while it is being edited - aka once a form element has been swapped in ...
Hi,
I created dynamic tab creation application using telerik radstrip. I can delete the tabs that are creating dynamically using crossbar option. When i am deleting the tabs its just deleting the tabs but not pageview corresponding to the tab. I have tried to delete the pageviews but i am getting error like "Microsoft JScript runtime e...
So I am learning about javascript, so I am making a live chat system with PHP and javascript. I have it so the javascript refreshes the log (each message gets logged in a file on the server), and it refreshes every second. Im using firebug to monitor the resource usage, and I see under the net tab each times its updated, and the bytes ad...
I'm trying to use <canvas> in iPhone Safari, and if I place the element in the body, there are unused pixels to the left and top of the element. I tried specifying margin:0;padding:0 with CSS to no avail.
What's going on here?
<html>
<head>
$(document).ready(function()
{
$('#screen').attr("height", $(window)...
I'm grabbing the query string parameters and trying to do this:
var hello = unescape(helloQueryString);
and it returns:
this+is+the+string
instead of:
this is the string
Works great if %20's were in there, but it's +'s. Any way to decode these properly so they + signs move to be spaces?
Thanks.
...
So I have a textarea containing text. I want to be able to display a tooltip when my mouse is hovered a certain word inside the textarea.
Is this possible at all? I would prefer to see a solution that doesn't use any third party javascript libraries.
Thanks!
...