Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Click en: type="button"
- class="botonlisto"
- en el evento onclick="newDoc()"
- Nos lleva a la funcion NewDoc();
- function newDoc() {
- var items = Array(1,2,5,6);
- var item = items[Math.floor(Math.random()*items.length)];
- var ale = Math.floor(Math.random()*7+1);
- var fianza = $("input#nombre").val();
- window.location="http://comoeres.rysnoticias.com/sabio/resultado/"+ale+"/"+fianza;
- }
- Prueba con:
- http://comoeres.rysnoticias.com/sabio/resultado/un_numero_del_1_al_7/una_palabra
- eje:
- http://comoeres.rysnoticias.com/sabio/resultado/7/palabra
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement