I have this method to post the value to the "/store/add_to_cart"
<form action = "/store/add_to_cart" method="post">
<% for product in @products -%>
<div class = "entry">
<%= product.title %>
<%= product.price %>
<p>
</div>
<% end %>
<%= select( "payment", "id", { "Visa" => "1", "Mastercard" => "2"}) %>
<%= submit_tag 'Make Order' %>
<...
Hi,
My web application is developed with Struts2 and it was working fine till recently. All of a sudden one of the modules has started malfunctioning.
The malfunctioning module is 'Update Student details' page. This page has a lot of fields like 'schoolName', 'degreeName', etc .
School 1: <input name="schoolName">
School 2: <input ...
I want to build a web application that stands completely by itself, apache not required. Is cherrypy a good solution, and can this be compiled with something like py2exe?
...
I'm not sure how this is Chrome specific, but it is. This is working on every other browser, including all IE* browsers etc. In fact, there's no code here that's client specific. All of this is being generated on the server. Yet after clearing Chrome's cache a million times and restarting it... the following doesn't work:
<script type="...
Hi everyone,
Very basic question: I am coding a web app that has a handful of pages. These pages have the usual shared elements: eg, the site's header/masthead and a side-bar are present on all pages. The HTML is static (not dynamically generated, its "ajaxy-ness" is done client-side).
What is the best way of importing/"including" thos...
Hi there,
Is it possible to have an ajax calendar inside a div and make it be always visible,like asp:calendar? and highlight today's date and add some task to the calendar for different dates?
Thanks in advance
...
What does the following code return?
window.location.replace("/ak012/(S(sar23pq1ki5wo22qqmmidvie))/HTML/Page.ashx?ID=4")
...
Hoping there's some TinyMCE guys in here ready to help. I'm using the BBCode plugin.
I have the following lines in the editor window:
This is line one
This is line three
Line two is empty. When I'm viewing this in HTML i get the following.
This is line one
This is line three
Without the extra empty line.
tinyMCE.init({
mode ...
Hi All:
I've developed some web-based applications till now using PHP, Python and Java. But some fundamental but very important questions are still beyond my knowledge, so I made this post to get help and clarification from you guys.
Say I use some programming language as my backend language(PHP/Python/.Net/Java, etc), and I deploy my...
How can I figure out where a request is made in a javascript application?
I'm debugging a large application which generates an incorrect HTTP request somewhere. I believe I haven't configured something properly with the API generating the request (Google Maps). If I could figure out where the request is made, then I could trace back to...
We are currently using random query-strings to prevent Internet Explorer from caching HTML on postbacks, but we are in the process of implementing URL re-writing and it would be nice if we could remove these random parameters.
What's the best pratice in this situation?
...
This is maybe a stupid question, but I figured I'd ask before I did something goofy:
I've got an web application with a custom Login dialog which takes a user/pass that gets sent to the server. If both match an entry in the database, then there is maybe 10 or so pages that the user gets access to (depending on the rights associated with ...
Hi. I am making a web-site , which is a social network.
There is need of making overall notification block/bar on the website.
User should be notified when
a) there is new message
b) there is new friend request
c) there is new photo rating
....
As application (php/mysql) should be made with future calculation of minimum 100-1500 us...
Am very New to Web Page Development.
In my website i have the help page like Name, Email ID, Contact No, Comment and Submit Button Suppose i entered the data in the help page , then i press submit button means that entered data's should sent to the email account
For Example
Help Page
Name - Raja
Email - [email protected]
Contact - 98763...
I want to build a basically interactive website with these tools. I need to make a navagation bar with a submenu. Ex:
Services
then when mouse is over Services it looks like:
Services
boo
foo
I'm familiar with adding css styles, i'm just not sure about sub menus.
On the php side of things, I want people to select from the ...
I have some pages that I want to save the PRINT version of the HTML that the browser would render. I need to do this server side, because I want to convert it to a PDF and them embed it in an email.
These pages I want to print have the following in the header of their Master Page.
<link media="all" href="../css/stylenav.css" type="text/...
Safari 4 apparently has a serious bug with imagemaps - the clickable areas go out of registration when the page is zoomed to anything other than 100%. It pretty much renders image maps unusable.
This is not my page, but it shows the problem; zoom in or out in safari and then click a shape:
http://www.elated.com/articles/creating-image-m...
I work at a web development shop so naturally we deal with user profiles. When dealing with one of our sites I noticed that there was no 'User' class, which struck me as odd since we certainly have users. Instead the site relies on interacting with DataRows (this is C#) returned through static methods with little to no instantiation. ...
I'm looking for examples of actual websites (not articles/demos) that use a modal dialog (like a jQuery dialog) to display comment or contact forms, in order to get some ideas of how I might want to implement similar functionality.
I'm having some difficulty finding such sites via search, though.
...
Is it possible to have C# and vb.net in the same asp.net website? without separating in class libraries.
...