A js problem or coldfusion one

I want to display the items like
if i choose 7 days from a list box, the price should
automatically change to 20, if i choose 15 days, the prince should
increase accordingly,
well i try to achieve hrough the coldfusion code but i think
i am wrong somewhere, how can that be achieved...

You are confused where JS and CF code executes. JS executes
on the client side (the browser) and CF executes in the server
(after call a page and before is sent to the browser).
In general terms, CF has no idea what are you doing in the
page, if you select or not a value, or if you click or not a
checkbox.
The idea is process the data in CF and sent it to the browser
ready to be use by the user.
JS -> client side
CF - ASP - PHP.... -> server side.
Regards

Similar Messages

  • Long List of Problems and no one will help!!!

    I have had NOTHING but problems with this phone since the sales clerk talked me into buying it.  I've had it for a little over a year and a half.  It's had "Software" issues out the rear and it's been replaced and still has the very same issues.  YET I can't swap it out with another phone without paying through the nose for a new one.  Verizon sold me a phone that does not work completely.  Verizon keeps replacing it with the same phone and numerous Verizon employees keep telling me that this phone has MANY known issues, LOTS of complaints.  Yet I am still stuck with a phone that is barely useable.  I am so disgusted right now.
    Here is just a SMALL sampling of issues with my phone and I am still being denied a new phone unless I want to pay $600. I have 4 weeks until I can "Upgrade"  and I still can't even get an early upgrade.  I have been VERY patient waiting for my "TWO YEARS" to be "UP" so I can upgrade without being robbed.  This in addition to suffering through the Black Berry Storm that SUCKED and was replaced 7 times in a year and a half period due to "Software issues"  I will admit, two of those replacements were my fault - one got wet and the other was stolen, but still, 5 replacements is not acceptable.  Then I went to buy my new phone (Glory day for me) then I get talked into this Fascinate and it's just as bad as the Storm was, if not worse.  I can't seem to win.  I have decided to go for an iPhone.
    Here is my list of problems and NO one can fix them, no one can help, I get told that this is a known problem yet Verizon won't take care of their customers that got screwed by this phone.  I've been a loyal customer for 7 years. I love the actual cellular service, I rarely get dropped calls, which is why I stick with verizon, but I am seriously considering jumping ship, because even though I'm loyal, I buy my phones through them, I can't get support.
    The SHORT LIST of problems that makes this phone 100% unacceptable:
    1)  Can't text 3/4 of the time because a little grey box pops up in the text box and it won't accept anything I type into it.
    2)  Have not been able to send picture emails for several months now - Verizon can't figure out why.  My husband misses out on a lot of pics of our kids, I like to text him fun pics of them doing things or when we are on vacation without him.
    3) phone freezes up on a regular basis.  Several times a day.  I have to pull the battery out and reboot.
    4)  Sometimes I can't answer the phone when it rings - the phone rings and when I slide the puzzle piece to answer the phone, it freezes and continues to ring long after the person has hung up and the only way to get it to stop ringing is to pull the battery out and reboot the whole thing.
    5)  a LOT of times, people will call my phone and it won't ring - it goes straight to voicemail.  I have had people call me when they are sitting right next to me and it doesn't ring (and yes, I've checked the volume, it's on, the phone is on) sometimes though, it rings and I actually can answer it, but lately, it's becoming more and more of a problem being able to receive and actually be able to answer them
    6)  I can't use Facebook.  It takes forever to actually get into FB and when I do, it only shows about 5 posts before it freezes.  A few weeks ago, I could post to FB but only here and there, now I can't post from FB from my phone at all.  I know that's likely due to the APP - but FB on this phone has always sucked. 
    7)  At home, even when I standing next to my wireless router, it says I have "Lost Signal", yet all of my other wireless devices work from 5400 square feet away, on the other side of the house, upstairs.  Even when I'm standing in the Verizon store, it says "Internet Connection Lost"  It is so frustrating.  I am a busy mom and I have 5 minuts to myself and I can't even check FB or browse on the internet and yes, I have checked, all of my connections are set up correctly.  My wireless is enabled on my phone.  But it still doesn't work.
    8)  Email - it's constantly refreshing, even though I have it set to only refresh once and hour.  I think I even changed it to once a day.  Instead, that little "refresh wheel" spins constantly on my phone and while this little refresh wheel spins, I can't read email, I can't write email and I can't send email.  When it finally stops and I open an email and the try to respond and write back, that little refresh wheel starts spinning again and then I have to wait until i can get home to a real computer to actually read & Respond to email. 
    9)  Calendar inputs the wrong time.  I had a dentist appt at 9:30am.  I set it as 9:30am.  When I saved it, it changed it to 10:40am.  I went back into the calendar function to change it thinking I had input the wrong time, but no, when I went to edit it, my 9:30 time was set, I hit save again and saving it changed it to 10:40.  WTH?  I can't even rely on the calendar function.
    10)  Two weeks ago, I woke up, looked at my clock, which I also rely on as an alarm clock.  The room was dark.  The clock said 5:30am.  But for some reason, it felt later.  Sure enough, I get up, check my husbands alarm clock, it's 7:30am.  I am so thankful I had a gut feeling and looked at another clock.  I did not change my time zone on my phone (in fact, I went looking for Time change stuff and I couldn't even find it.  Then two hours later, the phone went back to normal time all on it's own.
    11)  Text messages occasionally pop up and it tells me it's from Jay Smith (Not real name) and when I open the actual text, it's from Sarah Jenkins (not real name)  WTH?  How am I supposed to rely on text if its confused itself?
    12)  Phone shuts itself off all the time, several times a day.  All of a sudden I will hear the musical tone of my phone shutting down and then at some point, it will turn itself back on.  When I turn it back on, it resends out old text messages (See below)
    13)  Text message randomly sends out old text messages to people that I sent text messages out to months ago.  So the people will text me back saying "WTHeck is this about?" and I look and it's an old text message I sent them a month or two ago.  It usually does this when the phone freezes, shuts itself down and restarts.  I have found out that IF I delete my text messages timely, then it won't resend out any old text messages, but I am not very good about deleting stuff and often times, text message contains some important information that I haven't yet had the time to copy down and save.  I shouldn't HAVE to delete my text messages so it doesn't randomly send out text messages to people.
    14)  Often times, I will send out a text message and it will fail to send the message and I get a text message saying my text message has failed. 
    I could go on, but I think that will give sufficient evidence that this phone stinks and that Verizon should give people owning this phone a chance to get a new phone without raping their wallets.
    Maybe someone here will listen?  Because no one at the store does...  I pay for Verizon service that I barely even get to use because my phone doesn't perform like the guy who sold it to me told me it would.
    CAN YOU HEAR ME NOW????

      About the only thing I can say is to keep going to Verizon, or calling customer service to get them to look at the issues. I talked to 1 rep that told me to dial either 4# symbols, or 4* symbols (Can't remember which it was) after I got the VM message but did not have the phone ring, so it would mark my account record and they could search and troubleshoot the issue.
      As far as your upgrade, I think you have done the right thing so far, and that is signing up on this forum, that way you can look at the different phone forums and see what issues that people are having. Talking to people that have the phone is a great way to find out what the issues are. Verizon Sales reps will only sell you the latest and greatest, or if there is something that they are being told to push to get out of stock.
      Going with an iPhone is ok, just make sure it is correct for you, because like you said earlier, once it is done, it is done and you are stuck with it for 2 years. I had a friend who made a knee-jerk reaction to a bad phone, and did the same thing. They regretted it after 6 months. I am not saying the iPhone will be bad for you, just make sure you do your homework.

  • MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: One or more components of the HP printing software are corrupted or missing. Reinstalled software but Mac will not cause printer to print.

    ? MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: "One or more components of the HP printing software are corrupted or missing..." Reinstalled software but Mac will not cause printer to print.  My MacBook Pro works fine with same wireless printer.

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • I am using iphone 4..32 gb...i hav updated to ios6..i am experiencing serious lags...watever m doin d phone lags n goes to the home screen...frequency is much greater..please help me with it...i even replaced my device but same problem on new one..!!!!

    please help me with dis...
    I am using iphone 4..32 gb...i hav updated to ios6..i am experiencing serious lags...watever m doin d phone lags n goes to the home screen...frequency is much greater..please help me with it...i even replaced my device but same problem on new one..!!!!

    Restore the phone as a new device. There is probably something that was corrupted on your phone during the update and has been passed via the backup to the replacement phone.  If the corruption/problem is contained in the backup, you'll need to re-sync your data, and re-install your apps manually. Restoring the backup again will only bring the problem back with it.
    If restoring it as new does not fix it, then make an appointment at the genius bar.

  • Chart - problem with realize one of the function under CR XI

    Post Author: mrowa
    CA Forum: Charts and Graphs
    Hello,
    I have
    problem with realize one of the function under CR XI. I would be persuade if
    any of us would like to help me.
    1)   
    1) From
    database (basically from one table), I take data to make report. Each of record
    have appropriate fields:
    dteData
    intYear
    intMonth
    intDate
    2)   
    2) I
    want to realized comparison data from two or more periods of time on one chart
    and in one table. For easily explanation I will describe problem on two
    periods.For instance, user want to display and compare
    on chart date (type monthly -sum data of each month) from 2007.02 u2013 2007.05
    with date from 2006.03 u2013 2006.06. So we compare month 2007.02 with 2006.03;
    2007.03 with 2006.04; 2007.04 with 2006.05; 2007.05 with 2006.06
    On char I would like to display bars with comparison
    of months.
    Problem is that I donu2019t know how to write
    something similar. I can use one period without any problems, but two and mores
    I canu2019t realized.
    Detail description:
    I passed
    two parameters two report:
    {?from}, {?to} u2013for first period
    {?offset}, it means {?from}+{?offset},
    {?to}+{?offset}  - for second period
    On axis Y I have Sum(intDate);On
    X (year + month). But on each value x( example 20007.02) I need to have
    two values (bars). Value for standard period and offset.
    For example for x=2007.02, I need
    two bars one equal 2007.02 and second with offset u2013 2006.03
    Movement to next value (bar) is
    persuade by fields {data.rok}&{data.month} first or second period. This is
    combination of two elements year&month defined under Formula. Problem
    persist in that both period has different year.month and here problem starts once
    again. I donu2019t know how to solve it. I have found out one solution but it
    limits user only for two periods (I want to compare more).
    My idea for compare only two
    periods:
    I make one query in CR for one
    period and second query for second period.
    Firs query:
    "SELECT 
           year ,
          month
    Second query
    "SELECT 
           year + FLOOR({month + offset} % 13),
          {month + offset} % 13
    Then in CR I connect two periods and
    make u201Ctableu201D (results of queries) with JOIN on fields year and month.
    This solution is not functional,
    because I need to make reports for days and hours as well. In this solution I
    canu2019t use (%31), because not all months has 31 days.
    I use CR in WEB app made in Visual
    Studio 2005. Maybe from aspx we can manipulate with date to get exact solution,
    and solve problem with SELECT.
    Hope my description clearly
    describe problem and someone will be able to help me. I would be thankful.

    I have had similar problem before.
    Because I had too many data, the legend would not display all the data. Also the chart would not display all the data. But I was able to find a work around.
    In your case, Right click on the Legend text and click on Format Legend Entry.
    Change the font of the legend to 4 (which is the minimum). This may work.
    If you are also having problem with data labels, you could change the font size of the data labels.
    Hope this helps.
    Thank you.

  • Problem in moving one talbe to anlther table

    Hi ,
    we are working in ECC6.0 ,here we are facing problem while moving one table to another table .plz find below code.
    data : itab1 like p2001,
             itab2 like p2002.
    select single * from pa2001 into itab1 where ...........
    move-corresponding :itab1 to itab2.
    but here we are getting the error like both structures are deffirent ,so could you please let me know how to solve this problem.
    Thanks in advance,
    Sai.

    Hi sai,
    the sample code which you have specified here is fine...
    i dont see any issues.
    Can you specify the exact code and the error.?
    the code mentioend is perfrcty alright.
    the error u get might be beause of some other part of the code
    thanks,
    Jose

  • On ipad 2 ps touch just keeps crashing it appears from reviews this is a common problem, how does one access a refund

    On ipad 2 ps touch just keeps crashing it appears from reviews this is a common problem, how does one access a refund

    As stated, completely exit pst (don't just leave the app) and then activate airplane mode. Then open PST and change your cloud sync option to "off". Once you deactivate airplane mode, you should be able to open PST again without the crash. Iirc, I had to work at opening PST and accessing my settings very quickly or it would still crash before opening the settings page. Unfortunately, we have to completely forget about cloud sync until the bug is fixed. Save any image files back to the ios camera roll to share with other apps or upload elsewhere.

  • Problem going to one particular domain

    I have a problem going to one particular domain, sanjoseca.gov. Any websites starting with http://www.sanjoseca.gov/ do not load. I've tried enptying the cache, but that doesn't work. I have no problem loading any other domain. I used to be able to access the city's sites without problem up to a couple of seeks ago, but since then, I can't load. I tried using Firefox, but can't with it, either. The city says they have no problems with their site and a city employee went onto the internet while I was talking with her and had no problem. Any suggestions?

    jwsapp-
    That site loads fine for me.
    I would quit Safari and delete all cookies having to do with that site --
    or dump them all. Safari Prefs>Security>Cookies>Show All Cookies.
    Also, make sure you've cleared your Safari Cache & History.
    It also might be helpful to trash your icons folder:
    Your HOME (YourName) folder>Library>Safari>Icons.
    Restart Safari.
    Do those & report back, OK.

  • While opening pdf files the menu bar, navigation bar  cracks unobviously and also close and minimise buttons  goes hidden..Facing the problem for last one month. Please help.

    while opening pdf files the menu bar, navigation bar  cracks unobviously and also close and minimise buttons  goes hidden..Facing the problem for last one month. Please help.

    The latest Kaspersky software version is 15.0.1.415 or 15.0.1.415ab.

  • Problem Installing Sun One Studio ce on Linux RedHat 8.0

    I have a problem installinh Sun One Studio CE on a machin with Linux RedHat 8.0.
    The installation starts but at about 80% of its ther is an error and install stops.
    Does anybody help me?
    I don't know what error stop the install

    I'm having the same problem.
    The Sun One Studio CE starts up fine then towards the end it says:
    "installing... this my take a few minutes"
    But it doesn't, in fact it freezes there and doesn't do anything else.
    (I left it running over night and it was still there with the same message)
    Need help.

  • Transport Problem  - flow from one DSO to another DSO.

    Hi all experts,
    I am loading one DSO from program.  And based on first DSO, I am loading second DSO.
    In other words, second DSO is getting loaded from first one.
    While transporting from dev to quality system do i need to activate and include info-source of first DSO in the request ?
    <b>or</b>
    mere activation of both DSOs and update rules will be sufficient ?
    Waiting for your reply..
    Regards
    Vinay

    Thanks Patric.
    I am facing one problem.
    In one single request I have included two DSOs. ( One DSO is loading second DSO. ) Also I have included Info-source (generated from first DSO, commn structure and transfer structure).
    I also activated the update rules. But transport is getting failed showing error as below
    Start of the after-import method RS_UPDR_AFTER_IMPORT for object type(s) UPDR (Activation Mode)
    Update rules {tech name of update rules} read in version M
    Error when activating update rule {tech name of update rules}
    Activation of the update rules for {second dso} { 8first dso }
    IC={second dso} IS={ 8first dso } error when checking the update rules
    Can you help in this issue ?
    Regards
    Vinay

  • I am having problems importing some CDs into iTunes on a laptop with Windows 8. Most CDs import without problem. The ones I can't import can be imported into iTunes with Windows 7. Does anybody know why this problem is occurring?

    I am having problems importing some CDs into iTunes on a laptop with Windows 8. Most CDs import without problem. The ones I can't import can be imported into iTunes with Windows 7. Does anybody know why this problem is occurring?

    First-off, this seems to be a general problem with 10.4 (across all the operating systems of which I am aware).  Unfortunately, I cannot provide a permanent solution but, if you need a quick fix, this will (hopefully) work for you.
    For some inexplicable reason, iTunes no longer recognises standard Windows paths.  For example:
    Y:\Music\Buddy Holly\Buddy Holly - Rave On.mp3
    The end result is that it will import a playlist with no content. 
    It will, however, recognise the equivalent Apple paths which look like this:
    file://localhost/Y:/Buddy Holly/Buddy Holly - Rave On.mp3
    It is possible to convert your existing playlists using a few basic replace commands in something like Notepad.  In my case, I made some code changes in my music manager and now generate two sets of playslists (one standard and one to accommodate iTunes).
    Forgive me foir stating the obvious but please remember to make sure that the disk / path containing your music is accessible when doing the import otherwise you will probably get a blank result.  Note that you can do a bulk import by selecting all the (revised) playlists and dragging them onto the iTunes sidebar.
    I am sorry that this is not a "clean" solution but it will work if you are in a bind.  The only alternative of which I am aware is to wait for Apple to fix the problem.

  • I cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    i cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    Unless you're trying to tether your phone to your computer or create a personal hotspot, it won't pair with your computer by bluetooth. File transfer by bluetooth is not supported. So, you can quit trying unless you're trying to tether.

  • I have Mail with 5 accounts. The problem is that one of them is constantly active, that is with the moving wheel showing a search for new mails.

    I have Mail with 5 accounts. The problem is that one of them is constantly active, that is, with the moving wheel showing a search for new mails, while the others accounts are not active.

    hello
    Would not take the moving wheel as indication that account is active. There could be other reasons for it. From the menu Window, choose 'connection doctor' that will show you how each account has connected. Next, from the Window menu choose 'activity veiwer' that will show you exactly what activity is causing the moving wheel.

  • My problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.Help me please! greetings thanks!

    Hello good evening, I have a MacBook Pro and my problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.
    Help me please! greetings thanks!

    Do you have the Firefox new tab page but the actual sites are missing, or do you have some other page?
    If you have some different page, try the quick fix in Fred McD's reply.
    If the sites are missing, did you use the Reset feature? That will clear the storage associated with the new tab page. I'm not sure it's possible to recover from that; you probably need to rebuild your page from scratch as you browse.
    For possible future reference, here is how to access the hidden setting for the page to display on new tabs:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''newtab''' and pause while the list is filtered
    (3) Double-click the '''browser.newtab.url''' preference and enter your preferred page:
    * ''Page thumbnails (default)'' => about:newtab
    * ''Blank tab'' => about:blank
    * ''Built-in Firefox home page'' => about:home
    * ''Any other page'' => full URL to the page
    Press Ctrl+t to open a new tab and verify that it worked. Fixed?
    Some gotchas:
    ''If Firefox won't let you edit this setting:'' you may have something called SearchProtect on your system.
    ''If Firefox lets you save your change but ignores it:'' one of your extensions may be overriding it. You can review, disable, and/or remove extensions on the add-ons page:
    "3-bar" menu button (or Tools menu) > Add-ons > ''in the left column click'' Extensions
    ''If the change works during your session, but at the next startup is back to an unwanted page:'' you might have a user.js file in your personal Firefox settings folder (your Firefox profile folder). This article describes how to track down and remove the file: [[How to fix preferences that won't save]].
    Any luck?

Maybe you are looking for

  • AJAB - Depreciation/updating of values has errors

    Dear All, While executing Tcode AJAB, getting error  "RI01   000005000000-0000    Depreciation/updating of values has errors" Describing my Problem, F.Y 2013 & 2014 is open for Asset Accounting . F.y 2013 is close for FI  and F.Y 2014 is open for FI.

  • Mini Player always opens in center of screen

    When I used iTunes on a Mac, I could move the Mini Player to another part of the screen, and iTunes would remember. With iTunes for Windows, the Mini Player always opens in the center of my screen. Jim

  • How to include the missing PF status in screen

    Hello All, How to include the missing Pf-status in screen? Regards, Lisa.

  • Is JNDI lookup efficient?

    Two questions, please help. Thanks 1) Each node in a cluster has its own JNDI Tree? 2) How efficient is JNDI lookup? Shiye Qiu [email protected]

  • Problems for a beginner, please help.

    Whats wrong with this program? When I type "monkey" in the dos-window it doesn't call for the skapakort() method. Why? import java.io.*; public class test { public static void main(String[] args) { String line = ""; InputStream istream     = System.i