473,382 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

insert cells in runtime - Hebrew

Hello,
In a table element
How can I insert cell in their order (A, B, C, D ...) on javascript runtime,
but see the cells inserted from right to left.
I am doing :
myTable.row(0).insertCell(0) // cell A
myTable.row(0).insertCell(1) // cell B
myTable.row(0).insertCell(2) // cell C

What I want to see is the cells visible at the html in the order of :
C , B, A.

<TABLE dir = "rtl" .... />
// What else should I write above

Thanks :)
Jul 23 '05 #1
1 2087
Eitan wrote on 27 nov 2004 in microsoft.public.scripting.jscript:
Hello,
In a table element
How can I insert cell in their order (A, B, C, D ...) on javascript
runtime, but see the cells inserted from right to left.
I am doing :
myTable.row(0).insertCell(0) // cell A
myTable.row(0).insertCell(1) // cell B
myTable.row(0).insertCell(2) // cell C

What I want to see is the cells visible at the html in the order of :
C , B, A.
Call all thre with insertCell(0)

======================
<table border=1>
<tbody>
<tr id=myTR></tr>
</tbody>
</table>

<script type='text/javascript'>

addTD("A")
addTD("B")
addTD("C")

function addTD(text){
newTD = document.getElementById("myTR").insertCell(0)
newTD.appendChild(document.createTextNode(text));
}

</script>

======================
<TABLE dir = "rtl" .... />


I think that is only for strings ??
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dwalker | last post by:
I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. I've been playing around with this but just can't seem to get it to work. Any help would...
3
by: Rameshika | last post by:
Hi All How can I select a particular row in a datagrid.Where when the user double clicks the data in that row should appear in the corresponding text boxes in runtime And how can the user...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
3
by: Eitan | last post by:
Hello, I am looking for a function which convert hebrew string (windows) to hebrew string (dos). That's should pay attantion to commas, numbers, and any other character, that may have problem...
0
by: Mamatha | last post by:
Hi When i clicked a button, i want to insert data from listview in VB.NET to Excel sheet. If you know the solution either above or below is ok for me. I know how to insert from a textfile,but...
40
by: Shmuel (Seymour J.) Metz | last post by:
I'd like to include some Hebrew names in a web page. HTML 4 doesn't appear to include character attributes for ISO-8859-8. I'd prefer avoiding numeric references, e.g.,...
2
by: Zippy | last post by:
Hi. I'm working in Access 2003 - standard English version - and am trying to write a program with a Hebrew user interface. Being that Hebrew is a right-to-left language, the orders of columns...
2
by: Mitul | last post by:
Hello Friend, I am having very strange problem with mail function. As I have to implement Newsletter things in my hebrew site. I have implemented everything but having problem with subject line...
1
by: accessvbanewbie | last post by:
I would like to export a recordset from access to excel but after each record is exported I want to insert a new row. The first recordset does this ok. However, the second recordset onwards does not...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.