1
Living Room / Re: bookmarklet javascript - modfication help
« on: December 19, 2009, 11:38 PM »
Actually, I found another one that will fill in the text fields, but only with one word for every field: testing. It also fills in an email addy but I don't need that.
Because I don't really need all the other functions in the previous one I posted is there a way to expand on this one, and add more words after testing, and use each word in order listed to fill in text fields.
One other thing, I'd like to fill in only the fields I have highlighted/selected (otherwise the lot).
http://www.minezone....testing-bookmarklet/
Anyway, thanks if anyone can help me.
Because I don't really need all the other functions in the previous one I posted is there a way to expand on this one, and add more words after testing, and use each word in order listed to fill in text fields.
One other thing, I'd like to fill in only the fields I have highlighted/selected (otherwise the lot).
javascript:function%20ROIoiW(){var%20i=0,j,A='testing',D,E,F=document.forms;while(i<F.length){E=F.elements;for(j=0;j<E.length;j++){D=E[j];if(D.type=='text'){D.value=(D.name.toUpperCase().indexOf('MAIL')!=-1)?A+'@example.com':A}}i++}}ROIoiW();void(null)
http://www.minezone....testing-bookmarklet/
Anyway, thanks if anyone can help me.