If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Second Part has the below HTML codes available, but requires the following structured english to be converted into code:

access the value of the textbox original
if the value equals the empty string
issue a warning in an alert box
else
set the value of the translation textbox to be the original value translated into Ubbi Dubbi
end if

I am not to sure what you mean by that, but I'll try and explain what I expect from the coding a bit better.

For the first bit I want a line of coding that translates and outputs pieces of text from variables into Ubbi Dubbi. The code is supposed to identify vowels, using loops, and inserting 'ub' in front of the vowels. Then 2 variables are set to test the code. First 'string1' - the cat is on the mat, second 'result1' - the cat is on the mat translated into Ubbi Dubbi (so; thube cubat subat ubon thube mubat)

The second bit of coding is a bit like the first, but includes HTML and has a skeleton function. The skeleton function is to call on var result1 = ubbiDubbi. The FORM "translator" is supposed to output text entered into the input text box, a translate button then translates the inserted text into Ubbi Dubbi. When there is no text entered a window.alert is prompted. The code in written English would be:

access the value of the textbox original
if the value equals the empty string
issue a warning in an alert box
else
set the value of the translation textbox to be the original value translated into Ubbi Dubbi
end if