I'm trying to create a simple POS (Point of Sale) system.
I have associations set up in the order models to the items and seats (tables)
class Order < ActiveRecord::Base
has_many :order_splits
has_many :order_split_items, :through => :order_splits
belongs_to :seat, :foreign_key =>...
On the webpage I have a button (image link) that runs a javascript command to add a row to my table form.
<a onClick="addRow(<%= @num_variants %>); return false;"><%= image_tag 'pages/classifieds/add-additional-row.png' %></a>
Here is the applicant javascript:
function addRow(fields) {...
Here's the code I'm using - I don't see what's wrong - If I take out the event listener, I can get markers to show up on the screen, but the map doesn't show.
Anyone see something I missed?
Thanks!
Jason
<head>
...
<script type="text/javascript"...
I wanted to set up this facebox plugin for a friend of mine - but it doesn't seem to work... Can someone check out the page at http://www.christineshinn.com/graphic_design/miscgallery.html and tell me if you can see anything I did wrong?
I have the top row set to use the facebox plugin but...
I have 3 dropdown combo boxes. They all have the same options.
I just want to update the second and third ones to remove the options that are already chosen.
I've tried working out a solution I found on google, but that is made for seperate datasets and I couldn't get it to work.
Any help...
I need to update the div height after an ajax update. Currently in IE 7, the div retains its current height until the browser window is resized. Is there a workaround available to fix this behavior?
Thanks!
Jason
I set up an AJAX call in ruby. This works in all browsers except IE 7 (amusingly enough, IE 5.5 and 6 render it well)
Is there a way to redraw the div tag that the ajax updates to include the size? Here are a couple of screenshots to illustrate what it is doing.
Jason
Before AJAX call
After...
I have this code here, that creates a table using a div as a row and spans as table cells (using the appropriate 'display: xxxxxxx') This works excellently in safari, firefox, opera and IE 6, but IE 7 does not render the span widths or heights.
I spent the entire day yesterday working on...
Hi -
I'm trying to implement a dropdown box with values of the previous bunch of years. That is completed. I want this dropdown to update a partial (list of db records). I've tried several times, and the closest I can get is that it reloads the entire page into the div I'm targeting. I've...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.