Jump to content

goodtech

Members
  • Posts

    5
  • Joined

  • Last visited

About goodtech

  • Birthday 05/25/1994

Previous Fields

  • Languages
    html , css , a little php

Contact Methods

  • Yahoo
    goodtech2

goodtech's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thanks alot mate I found better selected box https://github.com/tuupola/jquery_chained
  2. thanks for your reply look this link http://tutorialzine.com/2011/11/chained-ajax-selects-jquery/ class SelectBox{ public $items = array(); public $defaultText = ''; public $title = ''; public function __construct($title, $default){ $this->defaultText = $default; $this->title = $title; } public function addItem($name, $connection = NULL){ $this->items[$name] = $connection; return $this; } public function toJSON(){ return json_encode($this); }} --------------------- so how can i use link on this select ?
  3. Link does not work again on select option ouch
  4. OMG I forgot guys just u need change like bottom $carone = '<a href="#">this car is number one</a>';$caseSelect = new SelectBox('only for test','');$caseSelect->addItem($carone) ->addItem('car2') ->addItem('car3') ->addItem('car4');
  5. hi guys i have this code --------------------------- $caseSelect = new SelectBox('only for test','');$caseSelect->addItem('car1') ->addItem('car2') ->addItem('car3') ->addItem('car4'); --------------------------- i want to know , how can i add link (http...) to this option on select thanks in advance
×
×
  • Create New...