473,226 Members | 1,382 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,226 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 3946
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...

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.