Hi community.
We currently have an application built with Struts 1.2. We are currently migrating it to Struts2 and are looking for a nice LGPL library of UI web components that will still exists within the next couple of years :
The cream of the cream would have been ExtJS, but the GPL license (and its subtle move from LGPL to GPL) is...
Hi.
I am currently creating a type of "classifieds" website, and when the user enters the site he/she is able to choose for example "Vehicles" in a dropdown list, and then choose mileage, year, price range etc...
Here is my problem, I have managed to make contact with a db using ajax to call a php script which then checks the mysql db ...
I am porting a Web App to a new environment. Due to changed paths, some references to JavaScript Files () are broken. I know of no way to make Firefox / Firebug / the web developer toolbar to warn on missing JS files, or at least issue an information somewhere.
Am I overlooking something?
Thanks in advance.
...
I'd like to have a scrollable container with overflow:scroll in which
a sortable list is contained, like so:
<div id="container" style="overflow: scroll; width: 200px; height: 100px;">
<ul id="fruit">
<li>Apple</li>
<li>Banana</li>
<li>Peach</li>
<li>Strawberry</li>
<li>Cherry</li>
<li>Pear</li>
<li...
Hi,
I am using Javascript, most of the stuffs are working only by javascript.
Sometimes the javascript functions are not called properly.
Can someone give fair idea about how to use use javascript,where to use javascript,what situation we need to use javascript etc...
One Scenario:-
$("#dialog").bgiframe({src:"about:blank"});
...
Hi friends,
I have a div tag and I am populating the search results on a custom grid, which is placed inside this divtag.
When a user click on the search button, i am displaying the results in the above mentioned div tag.
I have a requirement to close the above div tag when the user clicks outside the div tag.
It is similar to google ...
Anyone that can help me out will be very much appreciated. I seem to have got myself into a bit of a kerfuffle.
I'm trying to assign response data - retrieved from an AJAX request using the jquery.autocomplete plugin - to an input element. I can get the response data back fine, but when I try and insert it into the 'value' attribute, no...
Hi,
Is there a method in Javascript to insert an element after the current node.I know there is a method which inserts an element before the current node of the XML.But is there a method to Ins. after the current node?
...
What is the best possible way using jQuery to give height and width to parent div of an Image.
<div><img src="source.jpg" width="%width" height="%height" /></div>
Please note that , there are more than one tags like this. 3-4 images and DIVS.
thanks in advances.
jQuery solution will be preferred.
...
I am using jQuery to parse an RSS feed. Within each <item> is a namespaced element like <content:encoded> I want to select. How do I select it in jQuery?
$(xml).find('item') works but $(xml).find('item content') does not.
...
If I have:
Object._extends = function(Derived, Base)
{
Derived.prototype = new Base();
Derived.prototype.constructor = Derived;
Derived.uber = Derived.prototype;
}
var BASE = function()
{
this._name = "BASE"
}
var DERIVED = function()
{
Object._extends(DERIVED, BASE)
this._age = 3;
}
// Object._extends(DERIVED, B...
Is it possible to pass a search query to a Local search Google Maps object?
I've found this:
http://www.google.com/uds/solutions/localsearch/reference.html
, but could not find a way to pass a query (i.e. "Pizza").
...
I am currently sending a query variable to a php file like this:
query = "?price_from=" +price_from+ "&price_to=" + price_to etc etc...
I want to populate this query variable by using a loop to check if the user has chosen any search criteria in dropdown lists that exists on the page... It is only optional to chose the search cr...
Hello.
$(".navigation a").not(".navigation ul ul a").hover(function(){
// Not working.
});
For some reason, ALL <a> elements inside .navigation still get the hover function assigned to it.
I only want the elements that are not inside ul ul.
The Html is structured like this:
<div class="navigation">
<ul>
<li><a>ite...
I have a jquery ajax call that is making a cross-domain request. all the js syntax looks good, and the response looks good, but i keep getting the "missing ; before statement error" in firebug (console). Here's my web service:
[WebMethod()]
[ScriptMethod(ResponseFormat = ResponseFormat.Json, XmlSerializeString = false, UseHttpGet = tr...
Before I start the question, I know that some of you won't read the question carefully and will think that I'm asking for something as simple as addClass("custom1") to my original #elem, like this:
$("#elem1").autocomplete("source1.php").addClass("custom1");
This won't do it, because I'm not trying to add the class to my target div......
I have been using javascript for couple of years and never cared about the difference between null & undefined earlier, i always use undefined to validate the object existence.
But recently i came through this article. Here they said
JavaScript distinguishes between null,
which is an object of type 'object'
that indicates a del...
I have several forms in one HTML page...
I have to filter these forms somewhere... (eg check if all or some form elements have values etc...)
I am using ajax to submit the forms, but i dont know if i should filter it before submitting it to my php file, or filtering it inside the php file?
I want the fastest way for the data to show u...
Hi, there is a way to know what class own a function?
Example:
function globalFunc(){
//alert MyObject
}
function MyObject(){
}
MyObject.prototype.test=function(){
globalFunc();
}
var o=new MyObject();
o.test(); //alert MyObject
Now im using this workaround:
function globalFunc(){
alert(globalFunc.caller.__class__);
}
function...
Would anyone be able to tell me the grasemonkey code to have this page
http://www.easportsworld.com/en%5FUS/clubs/nhl
Have "Any" as the default selected spoken language from the dropdown. It defaults to English as selected for me.
...