Sign in to follow this  
Followers 0
emanemos

INPUT DATA

5 posts in this topic

Hello,

I want to input a number in a field:

<td width="100%" class="blockTable"><label>ND ou N° de prestation</label> <input class="field"

type="text" id="clientNd" value=""

onkeypress="ndKeyPressed(this, event)" onkeyup="checkNd(event)" onpaste="checkNdChanged(event)"/>

<input type="hidden" id="originalClientNd" /> <input

type="hidden" id="pppLogin" /> <label

What's the method?

Thanks for your answers.

Share this post


Link to post
Share on other sites



emanemos,

didn't you find the time to read through the help file and check those _IE* functions?

The questions you posted before pointed you to the IE UDF.

I think it's time you show some effort yourself.

We don't handfeed users on this forum, we teach them how to fish.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

i've read the differents IE functions; but there's no form in the code. Generally, I used the _IEform functions.

i tried with with _IEGetObjById.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You can get the object by the ID (that you have bolded), then, on that object use .previousSibling until you get the node you need

http://www.w3schools.com/dom/default.asp

http://www.w3schools.com/htmldom/dom_methods.asp

Dom methods for XML and HTML are interchangeable, generally

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Hi

I got it :

$ND=_IEGetObjById($oIE,"clientNd")

$ND.value = $sCellValue

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0