Hey there,
I am new to Greasemonkey.  Loving t so far.  I have, what I am sure
is, a novice question.  I am injecting the following html into a
particular webpage:

logo.innerHTML = '<form id="populateRemedyTicket" ' +
        'name="populateRemedyTicket" ' +
        'action="https://domain.com/arsys/forms/Request+for+Service/Default
+Admin+View/?mode=Submit' +
        '&F536870923=Device - ' + device + ', Component - ' + component + ',
Event Class - ' + eventClass + ', Event Key - ' + eventKey + ',
Summary - ' + summary + ', Message - ' + message + ', First Time - ' +
firstTime + ', Last Time - ' + lastTime + ', Device Groups - ' +
DeviceGroups + ', IP Address - ' + ipAddress +
        'method="post" target="_blank"> ' +
        '<input type="submit" value="Create Ticket"></form> ';

I am interested in including some newlines in the "action" form
attribute.  The get variable "F536870923" populates a textarea with
its value once the form is submitted.  So, html like <br> or <p> won't
work.  I need to somehow insert a few newlines to make the
"F536870923" value more human-readable when it is dumped in the
textarea.

I am trying to add \n /\n and other strings to the "action" form
attribute, but is is not working.

Again, total novice here looking for some help.

Thanks in advance,
Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to