Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi for PHP
AddOn
Compatibility
Database
Debugger
Demos
Documentation
IDE
Install
Internet
Library
Suggestion
You are not logged in.
Help
Print
Public Report
Report From:
Delphi for PHP/AddOn
[ Add a report in this area ]
Report #:
65541
Status:
Closed
LabeledEdit not work with javascript
Project:
HTML5 Builder
Build #:
2.0.0.1041
Version:
2.0
Submitted By:
ALEXANDRE PADUA FONSECA
Report Type:
Crash / Data loss / Total failure
Date Reported:
8/11/2008 2:12:33 PM
Severity:
Critical / Show Stopper
Last Updated:
8/12/2008 12:47:32 AM
Platform:
All versions
Internal Tracking #:
Resolution:
Test Case Error
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
LabeledEdit not work with javascript
Steps to Reproduce:
- New Project
- Add 1 LabeledEdit
- Add 1 Button
- Edit event the button ( JSClick )
function Button1JSClick($sender, $params)
{
?>
//Adicione seu código javascript aqui
alert(document.getElementById("LabeledEdit1").value);
<?php
}
or
function Button1JSClick($sender, $params)
{
?>
//Adicione seu código javascript aqui
alert(document.FrmPrinc.LabeledEdit1.getValue());
<?php
}
- Run Application
- add value in labelededit
- press Button show MessgBox ( undefinid ) and not the value labelededit
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 8/12/2008 12:48:04 AM
-
value of LabeledEdit is stored hidden field.
Please see HTML data with Web browser.
correct JavaScript code is as below.
function Button1JSClick($sender, $params)
{
?>
alert(document.getElementById("LabeledEdit1_value").value);
return false;
<?php
}
Gary Neckers at 10/27/2008 12:49:25 PM
-
alert(LabeledEdit1.getValue())
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us