---
title: "jquery 设置select初始值"
author: "wing123"
date: "2013-12-01T16:40:12Z"
tags: []
categories: ["移动开发"]
slug: "jquery-select"
draft: false
lastmod: "2013-12-01T16:40:12Z"
id: 1983470
url: "https://wing123.iteye.com/blog/1983470"
---

```
<select id="tAddrId" class="tAddrId" style="width:150px"></select>
```

 

```
var value=3;
var text = '东区';
$('<option value="' + value + '" selected>' + text + '</option>').appendTo($("#tAddrId")); 
```