I have an external Jar ,
which is in the Project BuildPath
which is in the WEB-INF/lib folder
and Eclipse has no problem identifying the file.
But GWT complains by saing that the source code is not available.
[ERROR] Line 8: No source code is available for type javax.ws.rs.core.Application;
did you forget to inherit a required...
Hello, I am using partials in Rails combined with jQuery child field templates to dynamically generate forms with multiple nested child attributes. Within these partials is JavaScript that is fired when various events (e.g. onChange) occur in the form, and the code that executes needs to change the DOM for a related but different form el...
I have an UpdatePanel with a repeater in it that is re-bound after a user adds an item to it via a modal popup.
When they click the button to add a new row to the repeater the code-behind looks something like this:
protected void lbtnAddOption_Click(object sender, EventArgs e)
{
SelectedOption = new Option()
{
...
I'm working on a project that needs a WYSIWYG editor, but I haven't had to integrate one in a while, so I'm not familiar with the latest and greatest ones. I've used both tinyMCE and nicEdit in the past and I'd prefer not to use tinyMCE for this project because of its large overhead.
I don't need it to be overly complex, but I need the ...
by default, when we put disabled="disabled" for <input type="radio".. . it will turn grey color. what is the css i need to use the change the color ? can i do this instantly with jquery ?
...
I'm wanting to create various shapes in HTML pages and am looking for a decent javascript library to simplify the task. What type of js libraries exist for drawing shapes on the web?
I am familiar with Raphaël for SVG - but don't really know what else is out there for SVG or non-SVG drawing.
...
Hello,
Let's say we have a JavaScript class:
function toy() {
this.hello = function(msg) {
alert('how are you? ' + msg);
}
}
In Silverlight in-browser mode, we can use HtmlWindow.CreateInstance to create an instance of JavaScript class and get the ScriptObject, like below:
var toyScriptObject = htmlWindow.CreateInsta...
I am creating a slideshow of animations using animated GIFs. I'm crossfading from one animation to the next. The problem is: the only way I have discovered to ensure that the GIF starts animating from the first frame is to reload it each time it's shown. The GIFs are 200KB or so each, which is way too much bandwidth for a continuous slid...
Hi all,
how can I split a number into sub digits. I have a number 20:55 n need to split in to two parts as 20 and 55.
var mynumber = 20:55;
var split = mynumber.toString();
document.write("Hour : " + split[0]);
document.write("Minutes : " + split[1]);
but am getting wrong value after toString() function call.
EDIT: 1 This is wh...
What my understanding is that functions in an iframe are "independent" on the parent window. So I think if there is an infinite loop in the script of the frame, the parent window should not be interfered. I implemented a program to test it, but found the infinite loop blocks the parent window's functions. Is the program or my understandi...
I have seen many websites includes apple and most of asp.net sites uses
<a onclick='s_objectID="http://www.apple.com/mac/_2";return this.s_oc?this.s_oc(e):true'></a>
kind of links. i.e. no href on a tag. and link embedded to onclick event.
what are the reasons for that ? analytics ?
How does it affect on seo ?
...
I started working on an experimental project tonight. I've realized that I need to determine if a group of selected nodes are self closing or not.
For example, suppose I query the dom and get this collection of nodes:
<br/><br/><p></p><div></div></br/>
Is there a property on the elements that can determine which are which?
Moreover,...
Possible Duplicate:
javascript trigger onmouseover event progrmatically
how to call onmouse over event in function
...
I have opened a website in a browser tab. Now, when I open a new tab from this website, I want to close the first tab in that browser.
...
Consider this code...
$(function() {
for (var i = 0; i < 10; i++) {
$('body').append('<div style="width: 30px; height: 30px; background: red; margin: 10px;" />')
}
$('div').slideUp(1000, function() {
$('body').append('done sliding');
});
});
(see it on JSbin)
It creates 10 divs and then slides them...
Hi guys - a long while back when I built my first web application I used sajax by modernmethod to add ajax features to it. NOw its been a while and I have to clean it up a bit - I haven't set any real checks and my code of the time is terrible inefficient and to top things off it seems that sajax is dead?
How do you cancel a specific a...
Hello,
I have Ajax page where I get search response inside textarea.
Here is the code
<form onSubmit="checkDomain();return false;" id="ajaxDomainForm" action="">
<input name="domain" type="text" id="domain" onKeyUp="checkForChange();" maxlength="255">
<textarea name="domainsAvailableInput" id="domainsAvailable" readonly="readonly"></t...
Hii,
My requirment is to show a dynamically created pdf file directly to my web page. It works fine for the system which is having pdf reader software. But for the system which does not have the pdf software it is showing error like below
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the erro...
Short question, if this works (and it does):
eval("new " + generator.className + "(" + generator.constructorArgs.join(", ") + ")");
why doesn't this work:
eval(generator.className + ".prototype.constructor.apply({}, generator.constructorArgs);");
The second expression always returns undefined, but in my opinion it should work. I ...
Is it possible to set the ajax timeout parameter using jQuery's get shorthand? If not, do requests sent with the shorthand ever timeout?
jQuery.get( url, [ data ], [ callback(data, textStatus, XMLHttpRequest) ], [ dataType ] )
thanks
...