I have two CascadingDropDownLists in a search form, and I would like to give the user the ability to "control-click" an item to eliminate the selected item from the search results.
Here's an example: I have application, service and location DropDownLists on my search form. If the user selects an application, then only those application...
I am wondering what is the best way to convert a json formated key value pair to ruby hash with symbol as key :
examole:
{ 'user': { 'name': 'foo', 'age': 40, 'location': { 'city' : 'bar', 'state': 'ca' } } }
==>
{ :user=>{ :name => 'foo', :age =>'40', :location=>{ :city => 'bar', :state=>'ca' } } }
Is there a helper method can do t...
I am mainly a C++ developer with decent knowledge of other languages.
At work we develop a C++ browser plugin which has some associated web code written using PHP, MySQL, Javascript and Dojo.
The problem is that we are a small team and none of us is specialized in web development. In other words, everybody knows what I know: to write s...
Hi,
I'm planning to develop my own simple and elegant web application framework in C# 3.5. I have some ideas, but not yet the best practice how it should be implemented. Maybe you can help?
My ideas:
It is a C# Library (DLL)
It needs to use XSLT as templating language, so XML must be the output of my data-/model-layer
It needs to con...
When i am developing a web application on Zend_framework (php) i have to include images (css files, js files, etc).
The solution for inclusion was to specify the absolute paths each time i needed an image (i was storing in "global like" parameter with my host and concatenated it with the relative path of the image on the host). As i un...
I was browsing around the web and I saw something I've never seen before.
on this site:
http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/
When you navigate down the page, the images only load when they are in the visible portion of the browser.
I have never seen this before and was wondering...
I found this forum thread in google, but no one here seems to encounter the same problem, so I would like to know if onsubmit='return false;' really fails in some IE7 browsers, meaning that it has become an unreliable method of preventing direct post back in an ajax form since the release of IE7, so we need to be very careful about using...
Has anyone actually used Wt?
Did it work well?
Did you experience certain limitations? Or advantages?
Note:
Please avoid the discussion of whether C++ is suited to be a web development language. I just want to give Wt a try because it seems like a fun thing to do.
...
If I'm already using Dean Edwards's IE7.js for IE6 then do i need to use Whatever:Hover htc and javascript(which we use only for IE6 hover) for Son of Suckerfish menu
...
This is mostly theoretical question, since I actually can implement it in any way, but it confuses me a bit. So, suppose I present a user with a page to select an Excel file, which is then uploaded to the server. Server code parses the file, and presents the user with another page with many options. The user can select and deselect some ...
To the point: how would you handle a server-side HTTP 4nn/5nn errors in jQuery's ajax requests? This case concerns a JSP/Servlet webapplication at the server side. Here I am not talking about trivial runtime exceptions such as NullPointerException and so on. Assume that they're all handled perfectly. A good example of such a HTTP 4nn/5nn...
I need to do a website for a friend who will pay me on delivery. I took a few courses in ASP.NET and think I can do it in ASP, but I am not sure ASP is free, since its a Microsoft product. Is there a way to use some kind of free version of ASP.NET to develop and sell a website or should I buy it? If it's not free, what are the free or ch...
Example
I have a gridview having multiple customers.
When a user clicks on the customer link then the CustomerId is stored in the Session "CustomerId".
if i open multiple customer details on multiple tabs then the Session "CustomerId" is overwritten.
so it does not make sense to store customerid in the Session.
I just want to store c...
I have 5 years of C#, Perl and SQL programming experience but I've just found a web designer and developer job. I dont know anything about it but need to design a website using PHP, flash and HTML, whatever it is. Can you give me pointers on where to start to learn it all ASAP and start designing the website? I downloaded WAMP and learne...
I want to offer the right version of a download. The versions I have are:
32-bit Windows
64-bit Windows
Linux
Detecting Linux using the User Agent field is easy; but is it possible to reliably figure out if Windows is 32-bit or 64-bit?
Users might be using weird browsers - IE and Firefox are common, and we probably have an Opera us...
I have some inline links with icon showing on the left (padding + bacground), but when the font is too small, the image doesn't fit in line height and gets cropped on top and bottom.
Is there any way to prevent it from happening, without use of javascript? I don't want to set font size in px..
Some min-line-height set to non-relative va...
I work in a web shop where most of us aren't programmers. (I am.) Structure is almost non-existent. The biggest beauracratic construct is logging our time since that is essential for business. A few of us are project managers but everyone has their own system. Now lately customers want estimates for all of our work and reconciling t...
Hi,
i have some input fields like below:
<input type="text" name="date_1" class="dataList" value="2009-12-30" />
<input type="text" name="date_2" class="dataList" value="2007-06-12" />
<input type="text" name="date_3" class="dataList" value="2009-10-23" />
<input type="text" name="date_max" class="result" value="0000-00-00" />
I mus...
Background: I'm working on an e-commerce website. It was my original intention to add JavaScript on top of regular html pages, so that users with JS support got the added benefits, but users without it could still use the basic html forms to add things to their cart, to search, etc.
I've run into a few situations though, where there sim...
10 years ago, I read one of those Teach Yourself HTML in 24 Hours books and haven't looked into developing for the web since.
I'm currently trying to learn C# and Silverlight and make my way into the world of professional software development. I'm not specifically targeting the web, but if I put up a personal website, I'd like to be ab...