Jump to content
php.lv forumi

Recommended Posts

Posted (edited)
character ";" not allowed in attribute specification list.
element "theForm.elements.length" undefined.

 

function select(a) {
var theForm = document.myForm;
for (i=0; i<theForm.elements.length; i++) {
	if (theForm.elements[i].name=='id[]')
		theForm.elements[i].checked = a;
}
}

 

Kā varētu no viņiem atbrīvoties? javascript'u nepārzinu.

Edited by anonīms
Posted (edited)
character ";" not allowed in attribute specification list.

try RegExp

Edited by 777
Posted

Es, ja godīgi, tad nesaprotu kādā sakarā augstākminētā kļūda par to ; čarakteri ir saistīta ar iedoto JS kodu.

Posted

Nevajag taisīt muļķīgas QUOTEs

 

es ari, nu bet lai pamegina ar regexp js skripta parbaudit iepostoto informaciju, bet laikam ka tur pasa php skripta stav parbaude

×
×
  • Create New...