HighDots Forums  

Find and Replace

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Find and Replace in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sweet_16
 
Posts: n/a

Default Find and Replace - 03-24-2009 , 08:39 PM






Hi,

I need to do a Find and Replace to remove a portion of a code i did, but can't
figure out how to do it. Code below.

document.write('SURVEY - Please click the button below to complete a
survey, your feedback is important to us.');
document.write('<form
action="http://ssgis.stl.mo.com/survey/surveys/home.asp?surveyID=06170646062631&
pkgID=1" method="post" name="survey" target="_blank">');
document.write('<input type="submit" name="svy" value="Complete
Survey"/>');
document.write('</form>');
[h]document.write('To receive credit for this course, click on the Receive
Credit button below to roster');
document.write('<form method="post"
action="http://LeadRoster.web.com/roster/RosterMain.cfm">');
document.write('<input name="submit" type="submit" value="Click to Receive
Credit">');
document.write('<INPUT type="hidden" name="CourseId" value="TR007453">');
document.write('<INPUT type="hidden" name="OwnerID" value="111419">');
document.write('<INPUT type="hidden" name="SuccessURL"
value="http://plmtraining.web.boeing.com/">');
document.write('<INPUT type="hidden" name="ExitURL" value="">');
document.write('<INPUT type="hidden" name="Grade" value="P">');
document.write('<INPUT type="hidden" name="BemsId" value="">');
document.write('<INPUT type="hidden" name="StudentHours" value="">');
document.write('<INPUT type="hidden" name="BeginDate" value="">');
document.write('<INPUT type="hidden" name="EndDate" value="">');
document.write('<INPUT type="hidden" name="RosterType" value="INDIVIDUAL">');
document.write('</form>');
[/h]



document.write('SURVEY - Please click the button below to complete a survey,
your feedback is important to us.');
document.write('<form
action="http://ssgis.stl.mo.boeing.com/survey/surveys/home.asp?surveyID=06170646
062631&pkgID=1" method="post" name="survey" target="_blank">');
document.write('<input type="submit" name="svy" value="Complete
Survey"/>');
document.write('</form>');
document.write('To receive credit for this course, click on the Receive
Credit button below to roster');
document.write('<form method="post"
action="http://LeadRoster.web.boeing.com/roster/RosterMain.cfm">');
document.write('<input name="submit" type="submit" value="Click to Receive
Credit">');
document.write('<INPUT type="hidden" name="CourseId" value="TR007453">');
document.write('<INPUT type="hidden" name="OwnerID" value="111419">');
document.write('<INPUT type="hidden" name="SuccessURL"
value="http://plmtraining.web.boeing.com/">');
document.write('<INPUT type="hidden" name="ExitURL" value="">');
document.write('<INPUT type="hidden" name="Grade" value="P">');
document.write('<INPUT type="hidden" name="BemsId" value="">');
document.write('<INPUT type="hidden" name="StudentHours" value="">');
document.write('<INPUT type="hidden" name="BeginDate" value="">');
document.write('<INPUT type="hidden" name="EndDate" value="">');
document.write('<INPUT type="hidden" name="RosterType" value="INDIVIDUAL">');
document.write('</form>');


Reply With Quote
  #2  
Old   
Sweet_16
 
Posts: n/a

Default Re: Find and Replace - 03-24-2009 , 09:06 PM






Sorry this was unfinished, accidentally hit submit on this topic.

Here is my update:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=18
9&threadid=1434604&enterthread=y

Thank you


Reply With Quote
  #3  
Old   
Sweet_16
 
Posts: n/a

Default Re: Find and Replace - 03-25-2009 , 02:33 PM



Here you go,

Appriciate any help... need to do a Find and Replace to remove a portion of a
code i did, but can't figure out how to do it. In the code below i would like
to remove Highlighted part on some 200 other pages, the difference between
other pages is the the course id values. Any tips on how to do this with find
and replace?

document.write('SURVEY - Please click the button below to complete a survey,
your feedback is important to us.');
document.write('<form
action="http://ssgis.stl.mo.com/survey/surveys/home.asp?surveyID=06170646062631&
pkgID=1" method="post" name="survey" target="_blank">');
document.write('<input type="submit" name="svy" value="Complete Survey"/>');
document.write('</form>');
document.write('To receive credit for this course, click on the Receive Credit
button below to roster');
document.write('<form method="post"
action="http://LeadRoster.web.com/roster/RosterMain.cfm">');
document.write('<input name="submit" type="submit" value="Click to Receive
Credit">');
document.write('<INPUT type="hidden" name="CourseId" value="TR007453">');
document.write('<INPUT type="hidden" name="OwnerID" value="111419">');
document.write('<INPUT type="hidden" name="SuccessURL"
value="http://plmtraining.web.boeing.com/">');
document.write('<INPUT type="hidden" name="ExitURL" value="">');
document.write('<INPUT type="hidden" name="Grade" value="P">');
document.write('<INPUT type="hidden" name="BemsId" value="">');
document.write('<INPUT type="hidden" name="StudentHours" value="">');
document.write('<INPUT type="hidden" name="BeginDate" value="">');
document.write('<INPUT type="hidden" name="EndDate" value="">');
document.write('<INPUT type="hidden" name="RosterType" value="INDIVIDUAL">');
document.write('</form>');

Thank you!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.