Click here to Skip to main content
16,012,468 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: can't view a simple web service Pin
Vortex29-Aug-02 22:28
Vortex29-Aug-02 22:28 
GeneralRe: can't view a simple web service Pin
Paul Watson29-Aug-02 22:38
sitebuilderPaul Watson29-Aug-02 22:38 
GeneralRe: can't view a simple web service Pin
Anonymous29-Aug-02 22:58
Anonymous29-Aug-02 22:58 
GeneralRe: can't view a simple web service Pin
Vortex29-Aug-02 22:59
Vortex29-Aug-02 22:59 
Generalsorting, please help :-( Pin
Sonu Kapoor26-Aug-02 4:33
Sonu Kapoor26-Aug-02 4:33 
GeneralDatagrid layout Pin
Uncle Monkey26-Aug-02 2:42
Uncle Monkey26-Aug-02 2:42 
Questionjavascript for Mac IE ? Pin
Smitha Nishant25-Aug-02 19:19
protectorSmitha Nishant25-Aug-02 19:19 
AnswerRe: javascript for Mac IE ? Pin
Paul Watson26-Aug-02 8:55
sitebuilderPaul Watson26-Aug-02 8:55 
Tweety wrote:
Is there a way to detect IE Mac version and add special code as we do for Netscape ?

Yes you can look for MAC in the Request.ServerVariables("HTTP_USER_AGENT") string to detect if you are on Mac or not. Then you can look for the IE and Netscape identifiers for more profiling.


Tweety wrote:
I have added code to submit a form, on pressing the "Enter" key

Try this code, works fine on my Mac. If it does not help then post your offending code and I will have a look. I am trapping the enter key on the TEXTAREA element using the keypress event. You can put it on almost any other element and use keydown or keyup instead.

<html>
    <head>
        <script language="javascript">
            <!--
            function validate(){
                // Do validation
                return true;
            }
            
            function submitform(){
                // Get window event
                e = window.event;
                // Keycode for Enter is 13. If enter then submit form, otherwise continue
                if (e.keyCode == 13) document.frmMacTest.submit();
                return true;
            }   
            -->
        </script>
    </head>
    <body>
        <form action="mactest.asp" onsubmit="return validate();" method="post" name="frmMacTest">
            <input type="text" name="txtName" id="txtName" value="Your name..." /><br />
            <textarea name="txtDesc" id="txtDesc" onkeypress="return submitform();">
                Decribe yourself...
            </textarea><br />
            <input type="submit" name="cmdSubmit" id="cmdSubmit" value="Submit" />
        </form>
    </body>
</html>



Tweety wrote:
What are the precautions to be taken when writing client side javascript for Mac IE ?

Should not be anything major, not unless you are doing "low level" stuff. Though Mac IE does seem to be less forgiving than PC IE (which is a good thing.)

regards,
Paul Watson
Bluegrass
Cape Town, South Africa

Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."

GeneralRe: javascript for Mac IE ? Pin
Smitha Nishant27-Aug-02 1:10
protectorSmitha Nishant27-Aug-02 1:10 
GeneralRe: javascript for Mac IE ? Pin
Paul Watson27-Aug-02 1:49
sitebuilderPaul Watson27-Aug-02 1:49 
GeneralRe: javascript for Mac IE ? Pin
Jeremy Falcon30-Aug-02 3:09
professionalJeremy Falcon30-Aug-02 3:09 
GeneralRe: javascript for Mac IE ? Pin
Paul Watson30-Aug-02 3:20
sitebuilderPaul Watson30-Aug-02 3:20 
QuestionUsing Interdev on with localhost? Pin
Barry Lapthorn25-Aug-02 11:32
protectorBarry Lapthorn25-Aug-02 11:32 
AnswerRe: Using Interdev on with localhost? Pin
Nick Parker25-Aug-02 16:58
protectorNick Parker25-Aug-02 16:58 
GeneralRe: Using Interdev on with localhost? Pin
Barry Lapthorn26-Aug-02 1:29
protectorBarry Lapthorn26-Aug-02 1:29 
Generalproblem running simple ASP.Net application!! Pin
kinf23-Aug-02 5:21
kinf23-Aug-02 5:21 
GeneralRe: problem running simple ASP.Net application!! Pin
Paul Watson25-Aug-02 6:58
sitebuilderPaul Watson25-Aug-02 6:58 
GeneralRe: problem running simple ASP.Net application!! Pin
Todd Smith27-Aug-02 20:11
Todd Smith27-Aug-02 20:11 
GeneralJMail by DEMIC Pin
TommyKnocker21-Aug-02 22:16
TommyKnocker21-Aug-02 22:16 
QuestionPassing Style(sheet) into Custom Control?? Pin
MStanbrook21-Aug-02 10:20
MStanbrook21-Aug-02 10:20 
AnswerRe: Passing Style(sheet) into Custom Control?? Pin
Not Active22-Aug-02 6:58
mentorNot Active22-Aug-02 6:58 
Generalonline billing for students !!! Pin
drmzunlimited21-Aug-02 9:35
drmzunlimited21-Aug-02 9:35 
GeneralRe: online billing for students !!! Pin
TigerNinja_22-Aug-02 11:55
TigerNinja_22-Aug-02 11:55 
GeneralForce At Bottom Of Page Pin
Nick Parker21-Aug-02 6:34
protectorNick Parker21-Aug-02 6:34 
GeneralRe: Force At Bottom Of Page Pin
Maciej Pirog21-Aug-02 7:43
Maciej Pirog21-Aug-02 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.