473,395 Members | 1,702 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,395 software developers and data experts.

What is a div class="selection"

I am trying to change the selection in Javascript - but this HTML element is
not a standard option control.

On the web page it looks like a dropdown list - and you click on the right
hand down arrow and you see the entries in a dropdown. But how would I
control this thing from javascript?

Here is the HTML:

<div class="selection" style="top:0; left:89; width:159; height:21;"
ARSelMenu="[{v:&quot;Active&quot;},{v:&quot;Inactive&quot;}]">
<input id="arid7" type="text" class="text " readonly style="top:0; left:0;
width:138; height:19;" />
</div>

Apr 22 '07 #1
2 3955
On Apr 22, 7:45 am, "Angus" <nos...@gmail.comwrote:
I am trying to change the selection in Javascript - but this HTML element is
not a standard option control.

On the web page it looks like a dropdown list - and you click on the right
hand down arrow and you see the entries in a dropdown. But how would I
control this thing from javascript?

Here is the HTML:

<div class="selection" style="top:0; left:89; width:159; height:21;"
ARSelMenu="[{v:&quot;Active&quot;},{v:&quot;Inactive&quot;}]">
<input id="arid7" type="text" class="text " readonly style="top:0; left:0;
width:138; height:19;" />
</div>
What JavaScript library is involved? That is, what is "ARSelMenu" and
from where does it come?

Whoever wrote that library is probably the best person to ask.

Peter

Apr 22 '07 #2
On Apr 23, 12:45 am, "Angus" <nos...@gmail.comwrote:
I am trying to change the selection in Javascript - but this HTML element is
not a standard option control.
If it appears the in page to be a select element, then it is built by
some function or library of functions. Nothing you have included
below helps with your question.
On the web page it looks like a dropdown list - and you click on the right
hand down arrow and you see the entries in a dropdown. But how would I
control this thing from javascript?

Here is the HTML:
When asking about javascript, you should either post the code in
question or a link to a page that includes it. Posting just the HTML
is nearly always insufficient.
>
<div class="selection" style="top:0; left:89; width:159; height:21;"
ARSelMenu="[{v:&quot;Active&quot;},{v:&quot;Inactive&quot;}]">
<input id="arid7" type="text" class="text " readonly style="top:0; left:0;
width:138; height:19;" />
</div>
Presumably there is some library or script that adds events to the
object. The style attributes in the (X?)HTML are invalid: lengths
must have a unit unless they are zero, indicating that whoever wrote
it does not care for (or perhaps understand or know of) standards.
The ARSelMeny attribute seems to be some kind of Array literal that
contains object literals, however the syntax of the objects is
incorrect (if that's what they are).
--
Rob

Apr 22 '07 #3

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

Similar topics

6
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed...
16
by: Bernd Hohmann | last post by:
Hi there, we're currently convert an old ISAM application to Java and DB2. Among the load of problems we found the reports which have user selections like "select all data between mm/yyyy and...
3
by: deko | last post by:
SELECT TxType_ID, TxTypeName FROM tblTxType UNION SELECT Top 1 TxType_ID, "<Payment Account>" FROM tblTxType ORDER BY ; The problem I'm having is that the Top 1 "TxType_ID" brings up a...
0
by: Kyle Blaney | last post by:
Is there a way to control how the "Edit->Advanced->Format Selection" command formats long lines? In particular, I want the command to indent long lines differently than new scope. By default, the...
9
by: Neil Kiser | last post by:
I'm trying to understand what defining a class as 'static' does for me. Here's an example, because maybe I am thinking about this all wrong: My app will allows the user to control the fonts...
4
by: dbuchanan | last post by:
Hello, I have an audit table into which I insert information about the use of the application. This works sometimes and other times fails. I cannot find any reason for it failing. It is always...
0
by: gpl666666 | last post by:
I use access to make a "page", below the page form, there are "filter by selection" and "filter toggle button" what are these two bottons for?
1
gcoaster
by: gcoaster | last post by:
Hello, Access is accessing my patience! how does one filter just one form with a single combo box selection? I have a combo box named "cboCallStatus" unbound Row source type = Value...
1
by: HarishAdea | last post by:
Hi, I am trying to run the JAVA pgm, but it is giving error as "selection does not contain a main type". The filename is "ScoreLeadSummary.java" when i try to run it or debug,it gives the pop...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.