Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 09-21-2010, 05:22 AM Rate manager
Average Talker

Posts: 22
Trades: 0
Hallo wanna ask how can i create a script like bellow

www travelsim.com/

check the Call rates box at right of the page

Last edited by chrishirst; 09-21-2010 at 05:25 AM..
nackgr is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-21-2010, 05:24 AM Re: Rate manager
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
With serverside code and a database
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-21-2010, 05:25 AM Re: Rate manager
Average Talker

Posts: 22
Trades: 0
that was the only think i knew something more !
nackgr is offline
Reply With Quote
View Public Profile
 
Old 09-21-2010, 05:28 AM Re: Rate manager
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.google.com/search?q=ajax+populate+select+box
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-21-2010, 05:51 AM Re: Rate manager
Average Talker

Posts: 22
Trades: 0
thanks!
nackgr is offline
Reply With Quote
View Public Profile
 
Old 09-21-2010, 07:40 AM Dynamic Select Box
Average Talker

Posts: 22
Trades: 0
I found a dynamic select box now i want to add something and dont know how

lookc code
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
    <title>Dynamic Select Boxes example</title>
    <style type="text/css">
    </style>
    <script type="text/javascript">
        function populate(o)
        {
            d=document.getElementById('de');
            if(!d){return;}            
            var mitems=new Array();
            mitems['Main Courses']=['Burger Meals','Breakfast','Steaks','Fish Dishes','Vegetarian Dishes'];
            mitems['Snacks']=['Brownies','Cookies'];
            mitems['Drinks']=['Shakes','Sodas','Cocktails','Juices'];
            mitems['Salads']=['Tuna Salad','Cesar Salad','Green Salad','Prawn Salad'];
            mitems['Deserts']=['Pancakes','Waffles','Ice Cream','Fresh Fruit'];
            d.options.length=0;
            cur=mitems[o.options[o.selectedIndex].value];
            if(!cur){return;}
            d.options.length=cur.length;
            for(var i=0;i<cur.length;i++)
            {
                d.options[i].text=cur[i];
                d.options[i].value=cur[i];
            }
        }
    </script>
</head>
<body>
<form action="" method="get">
    <label for="or">Our menu:</label>

    <select name="or" id="or" onchange="populate(this)">
        <option value="Main Courses">Main Courses</option>
        <option value="Snacks">Snacks</option>
        <option value="Salads">Salads</option>
        <option value="Drinks">Drinks</option>
        <option value="Deserts">Deserts</option>

    </select>
    <label for="de">Select:</label>
    <select name="de" id="de">
    </select>
    <input type="submit" value="Show me" />
</form>
<p>.</p> 
</body>
</html>
I want when someone choose Snacks and after Brownies at second box and click the button show him a unique number .,., that i have put to shown when someone choose snacks and brownies

Last edited by nackgr; 09-21-2010 at 07:41 AM..
nackgr is offline
Reply With Quote
View Public Profile
 
Old 09-21-2010, 08:57 AM Re: Dynamic Select Box
Average Talker

Posts: 22
Trades: 0
noone?
nackgr is offline
Reply With Quote
View Public Profile
 
Old 09-24-2010, 05:42 PM Re: Dynamic Select Box
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It does sometimes take longer than 27 minutes to get a reply.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-24-2010, 05:47 PM Re: Dynamic Select Box
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND

we may need this:
Quote:
I want when someone choose Snacks and after Brownies at second box and click the button show him a unique number .,., that i have put to shown when someone choose snacks and brownies
in English or at least understandable.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Dynamic Select Box
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.51991 seconds with 12 queries