473,395 Members | 1,977 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.

Adding an item to a SelectControl

Hello. I'm using Mechanize and don't have much experience with it yet, so please excuse me.

I have a SelectControl and I need to add an item to it before submitting the form (the web page it came from used JavaScript to add that item). I have been searching the web, but haven't found a way to do that. Could anyone please help me?

Thanks in advance.
Feb 6 '07 #1
4 1436
bartonc
6,596 Expert 4TB
Hello. I'm using Mechanize and don't have much experience with it yet, so please excuse me.

I have a SelectControl and I need to add an item to it before submitting the form (the web page it came from used JavaScript to add that item). I have been searching the web, but haven't found a way to do that. Could anyone please help me?

Thanks in advance.
Hello and welcome. I haven't seen Mechanize yet, but I'll check it out.
Feb 6 '07 #2
bartonc
6,596 Expert 4TB
Hello. I'm using Mechanize and don't have much experience with it yet, so please excuse me.

I have a SelectControl and I need to add an item to it before submitting the form (the web page it came from used JavaScript to add that item). I have been searching the web, but haven't found a way to do that. Could anyone please help me?

Thanks in advance.
I checked out Mechanize. This is a very nice url lib extention! I am so glad that you have bought this to the forum. However, I haven't see SelectControl yet. Is this possibly part of your java script that you need help with?
Feb 6 '07 #3
Thanks for replying. SelectControl is not part of a javascript, it's a part of the Mechanize's ClientForm module. It handles HTML select tags and their options.
Feb 8 '07 #4
bartonc
6,596 Expert 4TB
Thanks for replying. SelectControl is not part of a javascript, it's a part of the Mechanize's ClientForm module. It handles HTML select tags and their options.
In trying to dig up some help for you, I came across this link. Hope that is useful to you.
Feb 9 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Claire | last post by:
When I run the following code through on the first round, my sub-menu (branched off mnuOpenPorts menuitem) shows a nice list of ports. When it gets run through on the 2nd pass, the sub menu...
4
by: Claire | last post by:
Sorry Ive added this twice (sortof) but if I'd added an addendum to the first one then this would probably have been ignored. This problem affects a ContextMenu attached to a NotifyIcon object. I...
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
0
by: Sileesh | last post by:
Hi I have html table and a Button in an Aspx page. I am adding one row with some textboxes to Html table each time i click on the Button thru Javascript. Now problem is when when i try to...
1
by: Brian Conklin | last post by:
Hello Eneryone, I am having a problem. I have written a little app that will take a text "pipe" delimited file and place all of the values in to an Excel spreadsheet. It works great on any of my...
10
by: tmaster | last post by:
When I try to dynamically add a second sub menu item to this ContextMenu item, I get an error 'Specified argument was out of the range of valid values'. Private Sub mnuTopics_Show_Select(ByVal...
6
by: Rudy | last post by:
Hi all, I know this is easy, just can't seem to get it. I have a windows form, and a text box, with a value already in it. I need to add that value to a table. It's just one value, so the entire...
3
by: J'son | last post by:
Guys, I have created a custom class that derives from DataList so that I can add some custom client side functionality into each new item row (<td>). Heres the class in its simplest form: ...
6
by: Papa.Coen | last post by:
I've just spend a lot of time solving the following problem: I used dotNet 2.0 / Visualstudio 2005 / C# / aspx, enable viewstate is set on all controls. I have 2 listboxes; the left contains items...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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.