Safari and javascript - turning on debug support



  • 1. Change CSS Class property using javascript?
    I have several tags on a webpage of the same class. If the user clicks a specific checkbox I'd like to be able to alter the display property of the class, affecting all objects of that class. This is an intranet application so we know that javascript will be enabled and the browser will be IE. How can I affect all the members of this class? Is there a way I can toggle the DISPLAY property of a class so all the elements using that class would be affected? ie: default.css file contains the following and is included into the HTLM document: .topicone { display:none; } .topictwo { display:none; } Relevant section of HTML code: <input type="checkbox" onclick="flip('topicone')'">Show me information about topic one.<br> <input type="checkbox" onclick="flip('topictwo')'">Show me information about topic two.<br> <p>Please see the following:</p> <p> Quick Points </p> <p class="topicone">This is some information about topic one.</p> <p class="topictwo">This is some information about topic two.</p> <p> Details </p> <p class="topicone">More information about topic one.</p> <p class="topicone">More information about topic one.</p> <p class="topictwo">This is some information about topic two.</p>
  • 2. Cannot get data out of a table
    Hello to all, I have a table. I am trying to get a value out of a table but it is not working. What is the problem? If I put an INPUT field into a cell of a table, what operations should I do to get the data out? Any help is appreciated :-) Regards. <body> <xml id="xmldso_list" src="cd_catalog.xml"></xml> <table border="1" bgcolor="yellow"> <tr align="left"><th>Title: </th> <td><input type="text" name="td_title"></td></tr> <tr align="left"><th>Artist: </th> <td><input type="text" name="td_artist"</td></tr> <tr align="left"><th>Year: </th> <td><input type="text" name="td_year"</td></tr> <tr align="left"><th>Country:</th> <td><input type="text" name="td_country"></td></tr> <tr align="left"><th>Company:</th> <td><input type="text" name="td_company"></td></tr> <tr align="left"><th>Price: </th> <td><input type="text" name="td_price"></td></tr> </table> <input type=submit value="Addrow" onclick="addone(this)">
  • 3. Clear a document?
    Just a quick question folks - is it possible to clear a document, frame or iframe of its entire contents? I know there's document.clear(), but it doesn't seem to do anything. :-(

Re: Safari and javascript - turning on debug support

Postby RobG » Sat, 24 Sep 2005 08:32:17 GMT

Not really, I found that developing in Safari (pre 1.3) is a pain.  The 
tools available for Firefox a great and work pretty consistently on all 
platforms so use that and just test in Safari.

It seems the tools for Safari have been greatly improved but I haven't 
got the latest version and so can't comment on that.

But back to the question... how to debug in Sarari:

<URL: http://www.**--****.com/ #anchor14>


Similar Threads:

1.[OT] (was: Safari and javascript - turning on debug support)

2.Turning on support for javascript

3.How do I debug javascript in Safari?

4.JavaScript Debugging Support in Visual Studio

I just crawled out from under a rock, so to speak, and finally started 
client-side programming for my ASP.NET Web apps in earnest. I'm using Visual 
Studio 2008 pro (+SP1) on my computer at home. I am able to step through 
JavaScript with intellisense support, etc. It's great.

At work, we're still using Visual Studio Pro 2005 (+SP1). Does that version 
of visual Studio allow for us to step through JavaScript files, have 
intellisense support, etc?

I know, I cold "just try it" - but that computer has so many problems that 
if it doesn't work, I wouldn't know if it was *supposed* to work or not...


Return to javascript


Who is online

Users browsing this forum: No registered users and 22 guest