Hi,
I have 3 drop-downs. 1st drop-down contains some values when the page loads.
I need to populate 2 nd drop-down based on the value selected in 1st dropdown.
Similarly, I need to populate 3 nd drop-down based on the value selected in 1st and 2nd dropdown.
Initially I tried like this.
<h:selectOneMenu value="#{stu.country}" >
<f:s...
Hi,
what is data.foo syntax in JSF/Rich Faces?
Say for example,
<a4j:support event="onchange" action="#{bean.retrieveStates}"
reRender="states_dropDown" data="#{student}"></a4j:support>
i am passing student object in data attribute. can I access in managed bean?
Documentation says this
"Serialized (on default with JSON) data...
Hi,
I realise that this is going to be a fairly niche requirement and will almost certainly raise a few "WTF's" but here goes...
Within an ASP.NET Webforms application I need to serve static content from a local client machine in order to reduce up-front bandwidth requirements as much as possible (Security policy has disabled all Brows...
I have a problem in retrieving a session variable in php.
While I am using the session variable in the drop down list, when I echo the values I can receive the value but when I use them in query there is no output.
Can you guide me?
...
I was recently informed that my shopping cart application breaks when viewed in Mobile Safari (iPhone, iPod Touch). The "add to cart" forms use the 'progressive enhancement' approach to support AJAX updates using jQuery. Some quick testing showed that the functionality indeed works with JavaScript disabled. Everything I've read so far in...
For example I have a web application using jQuery as a framework on the client side. Now most of the pages are functional by means of using AJAX and communicate to the server by means of using Generic Handlers (.ashx).
Now I have a problem that I am asking this to see what is the best solution for handling these request when my user ses...
Hi there;
I am trying to add images and create a slide show in a fixed size div, when I add thumbnail image I would like to have for example 5 thumbnail side by side nad then move to the next row, I am using Ajax ReorderList to add images,how can I achieve this?
any idea?
Thank in advance
...
I have a div called "main", and I have two hyper link, one is called "Google", another is "Yahoo!" , I want the user click the "Google", and the google.com will fill in the main div within refresh, same as "Yahoo!". what should I do in RoR?
...
Hi all,
I want add some functionality to the jquery $.ajax call. Specifically I want to trap for http error 403. I prefer not to edit jquery JS itself. I started to look at .extend but am a little confused by the examples.
Can I $.extend $.ajax() with to trap for 403?
TIA
Zombie Killer.
...
Ok, this is a bit different scenario. I guess I would have to think about doing it this way sort of with MVC anyway if we were actually using MVC...but we're not at the moment.
So I've got and .aspx page. In that .aspx page is a user control (.ascx). And in that user control is a custom control (.cs).
The custom control has a repeat...
Hello,
I'm using asp.NET MVC, and am looking at the JQuery autocomplete plugin for what I want to do. I need some extra functionality that I don't think it provides.
I have a page with two text fields, First and Last name. Ideally, when someone begins typing into either, I would like autocomplete to display both the first and last name...
I am a .NET WinForms/ASP.NET developer with what I think of as technology agnostic questions about how to implement "type-ahead auto-completion" on a large data set. If someone could point me to a reference implementation or detailed discussion, that would be great, but here are my questions:
Presumably, the user starts typing and, aft...
Hi,
I have a web application (UTF-8) in which the following one can be used to send to the server side
áéíóú
àèìòù
ÀÈÌÒÙ
ÁÉÍÓÚ
Ok. I use something like as follows to send data
// Notice $("#myForm").serialize()
$.get("/path?", $("#myForm").serialize(), function(response) {
});
When i see my recordSet, i get (database charSet enco...
I reordered some items in a listbox using Javascript. When I read the items in a postback in the code behind (ASP.NET), the order is in the original order. How do I get the same order as shown in the screen after Javascript manipulation?
...
I'm making an ajax request and I have some problems, this is my jquery code:
var url = "http://www.domain.com/SearchService.svc/search?keyword=my search keywords";
$.ajax({
type: "GET",
url: url,
dataType: "json".......
.....
When making this request I sometimes have blank spaces in my search (var url) and ...
I am using Wordpress for this design portfolio website: http://onomadesign.com/wordpress/identity-design/shleppers-moving-storage/
Now, on this single.php page, you can see the thumbnails on the right which link to each different post. What I would like to accomplish is that the thumbnail navigation with scrollbar, stays in the same pos...
I've got a page on my site that requests quite a bit of content via AJAX. The problem I've run into is that if you've been poking around on the site and are on a page that doesn't technically have a URL, you can't copy/paste the URL and send it to someone, since you'll just end up on the home page.
I was looking at facebook, and they us...
Hi folks,
I've been working with a developer on a web-based application. I have some experience with html and css mainly, and now that the heavy lifting is done, I'm wanting to start improving the design elements of the program (I know that is NOT the ideal situation, and in a perfect world, all design elements would have been consider...
I have a textbox that for each time a user inputs a letter I make a search with an ajax request and show the result "live" for the user. Often when a user types the letters it takes longer time for the request to be made than for the user to input a new letter, hence a new request is made before the first one have ended. It would be much...
In my previous web development experience I have used LAMP setups. I am trying to learn the Microsoft way as I develop a project using the following tools:
ASP.NET 3.5
C#
MS Visual Studio 2008
Here is my question: How can I tell when code gets executed on the server versus code that is exectued as javascript?
I have added AJAX fun...