hey i just started working on yii and still learning … i want to know how i can do use my js in yii here is a example on what i want to do with yii …pls copy past the code below in any html file and pls help me do the same in yii …
thanks
<html>
<head>
<script type=‘text/javascript’>
function generateRow99() {
var d=document.getElementById("div99");
d.innerHTML+="<p><label>Telefono :</label><input type='text' name='telephone'></p>";
}
</script>
</head>
<body>
<p><label>Telefono : </label>
<input type="text" name="telephone">
</p>
<div id="div99"></div>
<p><input type="button" value="Add" onclick="generateRow99()"/></p>
</body>
</html>