Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mac > Xcode
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Xcode section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 12th, 2007, 05:17 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default javascript with PHP in MAC's Firefox

// Related to Javascript in php in Mac's Firefox.


var tbodyElem = document.getElementById("'.$tmpNodeId.'").rowIndex ;alert(tbodyElem);trElem = tableBody.insertRow(tbodyElem+1);trElem.name='.$ma inLevelNo.';trElem.value='.$subLevelNo.';trElem.id ="'.$tmplformid.'";tdElem=trElem.insertCell();tdEl em.value=0;tdElem.style.textIndent='.$indents.';td Elem.id="col_'.$tmplformid.'";tdElem.className="'. $classStyle.'";';


print "<table style= 'position:relative;top:50' cellspacing=3 cellpadding=3 width=100%>";
print "<tbody id=tableBody >";

i am just sending, few sample coding. i found problem near
insertRow(). i changed the coding. still that problem existing. can you check this code?
i heard that insertRow() wont work in MAC OS.
This coding is perfectly running in Window IE.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox vs. IE - Javascript problem VerbatimBOT ASP.NET 2.0 Professional 2 September 25th, 2008 03:28 AM
Javascript - Firefox is not supporting lakshmi252002 General .NET 0 April 17th, 2007 12:14 AM
How to put validation with Javascript in Firefox. nitinp ASP.NET 2.0 Professional 0 February 7th, 2007 05:15 AM
Firefox javascript error akkad Ajax 2 November 27th, 2006 10:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.