I would like to decide on the UI technology to be used. I'm considering to use jQuery for sure as a javascript framework, but would like to know if ICEFACES would be the right choice to be used with jQuery. I would like to go with Visual Web Icefaces Framework (Netbeans IDE). Please share your ideas here!
Thank You
...
I want to make a post request and i do like this:
function Xxx_Click() {
var params = new Array();
var p1 = new Object();
p1.Name = "id";
p1.Value = 1;
params.push(p1);
post('<%=Url.Action("Act","Ctrl")%>', params);
}
function post(url, para...
I see people using all these different techniques with jQuery. I know the 2nd technique will run on page load. But when will the 1st and the 3rd functions fire? The third technique is used in plugins to avoid conflict right? But that will fire before page load surely? I also added a 4th technique. I would like to know when you should/sho...
Okay, I have been messing with this autocomplete stuff for 2 weeks now, and it's starting to give me a headache! I've gotten it to do almost everything I need, but I'm hung up on one issue. I have two autocomplete text inputs that are tied together. The first input allows the user to select a person from a MySQL database table. Then, bas...
I'm trying to create a uniform style for a small web form.
The problem is that the dropdown list seems to be pretty impossible to style as needed - the browser scroll options etc coming from the OS seemingly.
The solution I can see is to manipulate a combobox implementation so that I can use a text box, with the selections managed thr...
Hi all -
I'm attempting to pull a list of unique text entries from an XML document "the jQuery way" and am hitting a wall.
From this XML:
<items>
<item>
<categories>
<cat>Category 1</cat>
<cat>Category 2</cat>
</categories>
</item>
<item>
<categories>
<cat>Category 2</cat>
<cat>Category 3</c...
Hello, this is my first question here. I have the following jquery code:
$(document).ready(function(){
$("a").click(function(){
$(this).parent("li").css({textDecoration: "line-through"});
return false;
});
});
that works just fine. It strikes through the parent li of any clicked anchor (there are many anchor...
I can't for the life of me figure out the correct selector syntax to get this to work.
I have a div element. Using $(this), how would I select a <TD> that has a class="stock", but only within $(this) div element?
...
I'm trying to make this jquery drop down bar be on top at all time. I'm running into trouble on a specific page that is using jquery innerfade here: http://ithacacigars.com/cigars.php
For some reason is slips behind the images.
<?php include('perch/runtime.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3...
I've got an ajax call via jquery that executes without error until I get to the callback. The content returned looks like this:
{"UPSELLABLE":true,"OFFERTEXT":"p47r.cfm"}
Simply doing alert(upselldata); will alert the data above. But if I try access variable upselldata like a javascript object( I thought jquery did the eval work fo...
I am try to write a jQuery statement to change the table row that is currently clicked to a different foreground color while making all the sibling table rows the same color. Basically making it look like the clicked row is active. Here's what I have so far, this here works the first time, but on the second time on it never sets all the ...
Hey. So I have a Rails app that's getting deployed to a production machine that serves it via Apache/Passenger to two subURIs.
/app
/app_2
both the above subURIs are running the same codebase. It's just two symlinks to the public dir that are both pointed to via Passenger by:
RailsBaseURI "/app"
RailsBaseURI "/app_2"
Now, imma big ...
I'm getting some strange behavior in Firefox whenever I put checkboxes inside a list (ol, ul, dl), and then dynamically insert buttons above the list. If I start with a something simple list like this:
<dl class="c">
<dt><label for="a1"><input type="checkbox" id="a1" />one</label></dt>
<dt><label for="a2"><input type="checkbox" ...
I have a form wrapped in two separate div's in order to cause the upper portion of the form to be hidden until mouseover triggers a jQuery slideUP animation, revealing the second. Despite being a bit hack-ish, this works in all major browsers except IE7. Is there a way to make the lower portion of the form which is visible in the #top_m...
Hey everyon, I was looking at this tutorial and was wondering if anyone has an example of the completed effect.
I just want to know if it filters through the result when using the sliders but also updates the paginated numbers like on the kayak site. So lets say there is 10 pages, then you use the filter and then there are 5 pages.
If ...
I retrieve this XML file with
$.ajax({type: "GET", url: "data.xml",dataType: "xml",success: parse });
<Data>
<user>
<U_ID>4787<U_ID>
<U_NAME>Mickey Mouse</N_NAME>
<U_TYPE>1</U_TYPE>
<U_PIC>iVBORw0KGgoAAAANSUhEUgAAAHgAAAB0CAYAAABOpv</U_PIC>
</user>
</Data>
Where <U_PIC> contains a base64 encoded pictur...
We have code that will run if the user is idle for a certain amount of time.
(doStuff resets a countdown)
Existing code in Prototype:
Event.observe(window, 'mousemove', function() { doStuff(); });
Event.observe(window, 'scroll', function() { doStuff(); });
Event.observe(window, 'click', function() { doStuff(); });
Event.observe(window...
Hopefully this will be basic but if I create a Jquery click connected to a link that is supposed to download a document. However, before the download is initiated, I want the user to complete a quick profile form.
Suppose a I use a <a href="ProfileFormToBeCompleted.html" class="modal"> in the html page and the following Jquery function...
I used
$(document).ready(function() {
$("#main ul li").hover(function(){
var fade = $('img.g-img', this);
fade.fadeTo('slow', 0.5);
$("#main ul li").removeClass("active");
$(this).toggleClass("active");
});
});
I want to stop fade, when mouseout.
This code not working:
fade.stop().fadeTo('slow',1)
How can I do this? Thanks...
With jQuery, we do it like this:
$(document).ready(function() {
$("#orderedlist").append("Please rate: ");
});
and de string appended to component with id orderedlist.
Using icefaces framework , i got a component with id form1:p
i tried accessing it using followin code :
jQuery.noConflict();
jQuery("#form1:p").append("Please ra...