JavaScript tags case change

I an currently recoding a site to validate XHTML 1.0
Transitional. One of the changes is to make all JavaScript tags
lower case so that onMouseOver becomes onmouseover; onMouseOver is
not valid.
The problem is that DW rewrites these tags every time I open
the file even though I have made the correct settings in
Edit>Preferences...>Code Rewrite. I am using .PHP files and
they appear in the list of files not to be rewritten. Also, I have
set validation to XHTML 1.0 Transtional, so DW should know that
this is wrong!
This is very frustrating. Can anyone tell me how to stop
this?
Thanks

> This is very frustrating. Can anyone tell me how to stop
this?
Add an XHTML doctype to the page. Then you can use COMMANDS |
Clean up
XHTML....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"DigiHead" <[email protected]> wrote in
message
news:e667t3$p88$[email protected]..
>I an currently recoding a site to validate XHTML 1.0
Transitional. One of
>the
> changes is to make all JavaScript tags lower case so
that onMouseOver
> becomes
> onmouseover; onMouseOver is not valid.
>
> The problem is that DW rewrites these tags every time I
open the file even
> though I have made the correct settings in
Edit>Preferences...>Code
> Rewrite. I
> am using .PHP files and they appear in the list of files
not to be
> rewritten.
> Also, I have set validation to XHTML 1.0 Transtional, so
DW should know
> that
> this is wrong!
>
> This is very frustrating. Can anyone tell me how to stop
this?
>
> Thanks
>

Similar Messages

  • Need help in decoding javascript tag for HTML5 output.

    Hello all,
    I am working on a project in Adobe captivate 7 64 bit which consists of around 500 slides with most of the slides being text and image. The problem I am facing is very unusual which I guess I am the first one to experience (as per my search on google and forums). So, after I publish my project the output works fine in html (local and online) BUT when I run index.html (i.e., HTML5 output) the course does not run and screen is blank.
    After spending a week on searching online and using the trail and error strategy I was able to find out that it was the URL text "F:\usrnew\purchase" placed in the the middle of the course which caused the whole damage. However the url was removed and the project was submitted.
    After spending some extra time I found out that the letter "\u" which is a javascript tag was causing the problem for the HTML5 output. I don't really know much about javascripting but found out that the tag can be decoded using some programming strategy. Now this is where my knowledge comes to a standby and needs a lift from you guys.
    Any ideas, help, knowledge sharing would be very helpful for me and all those who might face this issue in future.
    Looking forward for your views.
    Kind Regards,
    Mirza

    Voila! The issue is resolved.
    Solution: Change the single slash "\" to a double slash "\\".
    Cheers,
    Mirza

  • Using Javascript function to change the value of a request variable

    Have a javascript function that activates onchange within a form variable. Would like the javascript function to change the value of a request variable.
    The javascript function is able to obtain the current value of the request variable ( which is 0 ) however I am unsuccessful in changing the value to 1.
    I have been trying to use the following:
         var vchange = 'request.changes_made = 1 ;' ;
         eval(vchange);
    Any ideas?

    If the user makes a change to the content of the form, and then attempts to leave the form, a javascript alert pops up giving the user the option of cancelling the submit, returning to the form and saving it.
    If there have been no changes, then the user is free to migrate to another page.
    This process is to protect users from losing valuable information but not to annoy them with "R U Sure" messages.
    Knowing the status of the form content is important to the functionality of the application.
    G

  • Need Javascript code for changing text field color

    Looking for a Javascript code to change the textfield background color and edge color in acrobat?  (without any xfa reference)

    The background color is the fillColor field property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.705.html
    and the edge color is the strokeColor property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.723.html

  • How stop case changing in SQL developer editor

    Dear Friends,
    When I start editing in SQL developer(version 1.6), case i.e. formatting of words gets changed automatically.
    Is there any option to stop case changing.
    Thanking in advance
    Sanjeev

    Assuming you are on SQL Developer 2.1.X try unsetting
    Tools -> Preferences -> Code Editor -> Completion Insight -> change case as you type

  • 2.1 EA1/EA2/RC1: Case change quirk from Formatter

    Hi,
    I love how the editors react to the automatic case change (as defined in the Formatter, not the button in the worksheet), but unfortunately I get its benefits less than half the time.
    The problem is the formatter only kicks in after pressing enter/return, and only for the current line.
    E.g. I go in an existing statement and want to add a new where condition. If I type on an existing line, it doesn't get formatted. If I insert a new line, the previous line gets formatted.
    So this usually results in having 1 line different to the rest and/or not getting formatting where I wanted.
    So my suggestions are to change the case whenever moving to another line (regardless if it was with enter/return, cursors, or mouse), and/or after typing words (on any whitespace), and/or change the case on the whole (current) statement.
    Thanks for considering,
    K.

    Hi K,
    Enhancement Request Logged:
    9201516 - RC1:FORUM:CAPITALISE ON WHITESPACE AND MOVE AWAY FROM LINE
    -Turloch

  • Iphone outer case change

    Hai all, i know this is irrelevant here. But i cant any place to post this question. I just wanted to know whether there is any way that i could get a new case for my iphone. I have dropped my phone a few times and now it looks badly battered. The touch screen is fine. But on the back side where we have the Apple Logo it is all scratched off. Does apple offer an outer case change.
    Thanks
    Vam

    Thanks a lot for replying my question. I just have one more. How much would they charge for replacing my 8GB iphone. And would they do it just like that or will they do only if there's a problem with my phone.
    Thanks
    Vam

  • RF-ID Tag has changed.

    The RF-ID Tag has changed.
    System-security - Keyboard is locked.
    Adaptec AHA-2940 Ultra/Ultra W SCSI BIOS v.1.32S8
    (c) 1997 Adaptec, Inc. All Rights Reserved.
    SCSI BIOS Installed Successfully!
    System-security - Keyboard is unlocked.
    176 The system has been tampered with.
    Turn power to your system OFF and then ON.
    Your system is now locked.
    I downloaded Sun's Java Run-Time Environment (v.1.4.2 02) last night so that I could use another program that requires it to operate. Everything went fine during installation, until the installation program asked me to shut the computer off and turn it back on before the installation would be complete. Since then I haven't been able to use my computer. I get the above message. I am upset to say the least. Please tell me what I can do to get my computer back.

    Just to review the scope of this thread:
    This is not a Java issue.
    This message only occurs on IBM systems; laptop, workstations and servers. The full value is 0176 and is hexadecimal.
    The important line here is:
    176 The system has been tampered with.
    My inerpretation: For older servers by HP and IBM, they often forced you to run their configuration utility after you make hardware changes or if a stored checksum mismatches (similar to CMOS checksum error on personal systems).
    Here is an IBM page that talkes about this and other POST messages on some models:
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42321
    Error code:
    0176
    Symptom or error:
    System Security. The system has been tampered with.      
    Field replaceable unit or action, in sequence:
    1. Run IBM BIOS Setup Utility, and then save current setting by pressing F10.
    2. System board.
    http://www-1.ibm.com/support/docview.wss?rs=0&uid=psg1MIGR-4BAHK2
    POST error code:
    176
    Component(s) to troubleshoot or replace
    Covers were removed from the computer.
    http://www-306.ibm.com/pc/support/site.wss/document.do?lndocid=DDSE-43WNL9
    Error code: 0176 (CPU failure - Slot 1, CPU # 1)
    FRU/Action:
    1. Reseat processor module
    2. Processor Module
    3. Processor Board
    You get the idea: Find the POST code documentation for your model.
    Now, on the issue of those capacitors. I thought that only happend on cheap systems. The was a problem was traced to a bad engineering change made in capacitors, primarily in Taiwan, in about 2001that results in them failing after perahsp one year of service. Here are some realted links:
    http://www.feistworks.com/ben/3comfix/
    http://www.theregister.co.uk/2003/02/06/stolen_formula_torpedos_big_brand/

  • RMAN Tag name change

    Could backupset Tags name changed after backup has been taken.? I would like to re name some tags before marking them keep forever.

    Ok. thanks.
    I made some changes in my run script and it much better exept for control file backupset which gets generated with default tag name. Is any way I could specify tag name for control file backupset in my script
    Here is exampe:
    run
    BACKUP DATABASE TAG = FULL_HOT_BACKUP PLUS ARCHIVELOG DELETE INPUT tag FULL_HOT_BACKUP;
    DELETE NOPROMPT OBSOLETE;
    92266 B A A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92267 B F A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92268 B F A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92269 B F A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92270 B F A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92419 B A A DISK 26-NOV-07 1 1 YES FULL_HOT_BACKUP
    92465 B F A DISK 26-NOV-07 1 1 NO TAG2007126T141620

  • Data case changes automatically somtimes

    Hi All,
    I have observerd sometimes data case automatically changes for few records while syndication from MDM.
    For example : if a field data came Abc format and loads in repository same format but while auto syndication somtiems its case changed (Same map), even this not happens with all records.
    Please provide what could be the possible reason.

    Hello Dharamveer Gaur
    As we knew Syndication server used datatime stamp for syndicate only records which was updated
    But syndication process having few time, during that time syndicating record may be update and datatime stamp will change
    In next syndication step that record will syndicate again
    Regards
    Kanstantsin

  • Safari 2.0: javascript can't change title of popup "Untitled"

    With a javascript generated popup window, Safari 2.+ titles the window "Untitled" and will not allow the title to be changed with either html "<title>" tag or with javascript "document.title()" property. Safari 1.+, IE 5.0 and Firefox 1.+ all reset the window title properly using javascript. Does anyone know of a simple workaround to fix this bug in Safari 2.+?
    powerbook   Mac OS X (10.4.8)  
    powerbook   Mac OS X (10.4.8)  

    HI and Welcome to Apple Discusions...
    Your ISP is redirecting your browser.
    Try Open DNS - Free / Basic
    Carolyn

  • Did the code tag implementation change?

    Over in the UIX forum, we have been relying on the ability to embed XML content inside of a "code" tag - and for as long as I can remember this would automatically escape HTML/XML start/end tags so that they would be displayed in the message content. For example, users have been posting uiXML samples like this:
    (Note, in this sample I have added a trailing whitespace in the opening code tag so that the forum software will display the tag instead of interpret it. Also, I have explicitly escaped &lt; and &gt; myself so that they will be displayed.)
    [code ]
    &lt;messageTextInput id="whatever"
    name="neededName"
    prompt="Prompt 2"&gt;
    &lt;boundMessage select="error2"/&gt;
    &lt;/messageTextInput&gt;
    Previously, the code tag would automatically handle escaping the open/close tag characters (&lt; and &gt;) to the appropriate character entities (&amp;lt; and &amp;gt;). This no longer seems to be happening. The end result is that embedded XML code is sent back to the browser unescaped, and ends up being interpreted by the browser as HTML - which generally makes such content unreadable. Here is what the above sample looks like now:
    [code ]
    <messageTextInput id="whatever"
    name="neededName"
    prompt="Prompt 2">
    <boundMessage select="error2"/>
    </messageTextInput>
    This change in behavior has two really bad consequences:
    1. This is making it very difficult to post uiXML samples, which means that users are having a hard time posting test cases, and the UIX team is having a hard time posting sample solutions.
    2. We have a large number of code samples that have been posted to the forum over the last year or so. All of these samples are now unreadable.
    Was there a change in behavior in how the code tag handles HTML/XML escaping? Can we get the old behavior back?
    Andy

    I really didn't mean to have smiley faces in my post - another interesting feature! What I meant to say was:
    "Previously, the code tag would automatically handle escaping the open/close tag characters, &lt; and &gt; , to the appropriate character entities: &amp;lt; and &amp;gt;."
    And actually, I forgot to take the whitespace out of my sample code tag - let me try posting the sample code one more time, this time inside of an actual code tag:
    <messageTextInput id="whatever"
                      name="neededName"
                      prompt="Prompt 2">
      <boundMessage select="error2"/>
    </messageTextInput>Andy

  • Jsp ok but IDE display errors in javascript+tags and taglibs include file

    Hi,
    The JDev 10.1.3 IDE display errors on running JSP in following cases:
    1) When tag libs declaration in include file.
    2) When jstl/struts tags are used in javascript
    JDev 10.1.2 didn't diplay those errors
    More details:
    extracts:
    Type of error: Character data not allowed in head
    alert("Your session has been closed automatically after a long period of inactivity.\nOR\nYou used an invalid or old bookmark.");
    javascript comments: (use for debugging)
    // alert("agt: "+agt+", is_ie: "+is_ie);
    Type of error: element <used tag> not expected here
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">
    alert("<fmt:message key="alert.timeout.noRedirection"/>");
    </fmt:bundle>
    JDev 10.1.3 has no javascript editor, so it should ignore the content of <script> .. </script>
    Regards
    Fred

    Hi,
    Same message but with formatting tags.
    Closing tag is [ / code ] without blanks.
    Thanks to Didier,
    IDE displayed errors => jsp runs and compiles ok.
    It is not obvious to reproduce those errors because they vary upon external or internal tag declaration.
    Remark:
    I tried replacing jsp tag declaration:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>by simple file but it doesn't help:
    <%@ include file="../../srcInclude/tagLibs.inc"%>Case 1) all tag declaration are external but jstl c and fmt also internal:
    <%@ include file="../../helper/TagLibsInclude.jsp"%>  
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>Element c:out not expected:
    =====================
    <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
    </c:set>Element logic:messagesPresent not expected
    ==================================
         </tr>
        <logic:messagesPresent message="true" >
            <html:messages message="true" id="msg">
             <tr>
              <td colspan="5" class="txtMed txtBold">
                 <c:out value="${msg}"/><br/>
              </td>
             </tr>
            </html:messages>
        </logic:messagesPresent>
        <tr>Element fmt:param not expected .
    ========================
                  <fmt:message key="event.photoCommentInLang.prompt">
                   <fmt:param value="${pageScope.langName1}"/>
                  </fmt:message>
    ..Case 2) all tag declaration are external
    Element set not expected .
    ===================
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <c:set var="sourceId" value="${bindings.EventId.attributeValue}"/>
      <c:set var="sourceId1" value="${bindings.AlbumId.attributeValue}"/>
    ...Element bundle not expected .
    ======================
    </head>
    <body>
    <fmt:bundle basename="com.photoswing.webview.MainshopAppMessageResources">error: Character data not allowed in head
    =============================
    Example:
    <script language="JavaScript" type="text/javascript">
    function FL_init() {
      <c:if test="${not empty requestScope.SessionWasInvalid}">
        alert("<fmt:message key="general.loggedIn.timeout"/>");
        location.href="<c:url value="/accountLogin.do"/>";
      </c:if>
    </script>Regarding my workaround:
    You don't have to remove the tag declaration, but I prefer to keep my jsp as clean as possible.
    But I found another problem, this time it's a serious one, when you reformat the source ALL tag prefixes are removed.
    Example
    <c:set ... becomes <setOther example:
      <c:set var="numberOfRows">
      <c:out value="${bindings.LoadedPhotos}" />
      </c:set>becomes:
        <set var="numberOfRows">
         <out value="${bindings.LoadedPhotos}"/>
        </set>Good luck!
    Fred

  • Tag case : very urgent

    hi experts ,
    is it possible to change the case of the tags of the soapdocument...
    there are two methods in soaddocument class to change the case of the tag... its default (uppercase) and mixcase (upper +lower case Eg:Name) ..
    i want to change the case of the tag to lower case completely (Eg :name)
    can ne one help me out with methods n ways to do it...
    i need this to map the abap tags with the wsdl of ejb service...
    its very urgent .....

    Why does it seem that most newbies threads are urgent?   Is it a lack of knowledge?   Unwilling to use the F1 help in the Editor?

  • When iTunes upgraded, many of my song tags were changed by iTunes.  This happened again when an update was sent this week.  Is there any way to avoid this happening again in the future?

    When I downloaded the new iTunes, it changed the tags on some of my tracks.  As a result, I had to fix them manually.  When I downloaded another upgrade this week, my tags changed again.  How can I prevent this from happening in the future?

    The cricual thing is to have a complete backup of your library that you could restore if needed.
    What changes are you noticing? There appear to be some new as yet not well documented features designed to sync data across multiple libraries/devices which may have unwanted side effects.
    tt2

Maybe you are looking for

  • How to transfter data from one page to another one

    Hi everybody, I have got a page index.jsp which includes menswear button, chirldrenswear button and womenswear button, but user click one of them , it will go to another page called display.jsp to display all products information, if button mensware

  • Runtime exec problem to execute a C program

    Hi, I've spend lot of time trying to find a solution without success... My aim is to run a C program from a java application under linux. My C code is the following: #include <stdlib.h> #include <stdio.h> #include <string.h> main(int argc, char **arg

  • I just updated to the newest software and all my apps were deleted.  I have tried syncing on itunes but it doesn't work.  Help!

    I just updated to the newest software and all my apps were deleted.  I have tried syncing on itunes but it doesn't work.  Help!

  • Report Sub-Heading output

    Hi All, I have a report sub-heading named "Opening Blance" on my report. I want that when the report output is more than 1 page then "Opening Blance" Heading should be change to "Balance Brought Forward" to 2nd and onward pages but on 1st page it sho

  • OC4J is encountering problems

    Dear Experts, I need your expert full experience. I have Intalled OAS (Infrastructure + Middle-tier ) on 1-machine. It was working fine a day before but now its OC4J is encountring issues (in my understandings). I was facing error "Connection refused