---
title: "js 为img赋值"
author: "MyEyeOfJava"
date: "2009-11-15T11:37:19Z"
tags: []
slug: "js-img"
draft: false
lastmod: "2009-11-15T11:37:19Z"
id: 517466
url: "https://myeyeofjava.iteye.com/blog/517466"
---

$("#sealpicture").attr("src",list.rows\[0].SEALPICTURE);  
sealpicture为赋值的img的id，list.rows\[0].SEALPICTURE为img的路径。