Forums / Developer / javascript in customer template

javascript in customer template

Author Message

Didier Kalulambi

Monday 11 October 2010 3:11:13 am

I have a problem to change the text of a paragraph (<p>) with javascript: here is the code I use: document.getElementId ('my'). value = 'ok'; help me...

Lo' F.

Monday 11 October 2010 4:46:29 am

"

...getElementId...

"

..getElementById..

loredanaebook.it

eZ debug

Timing: Jan 17 2025 23:44:06
Script start
Timing: Jan 17 2025 23:44:06
Module start 'content'
Timing: Jan 17 2025 23:44:06
Module end 'content'
Timing: Jan 17 2025 23:44:06
Script end

Main resources:

Total runtime0.0226 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.6172180.8438
Module start 'content' 0.00850.0079 770.460993.9922
Module end 'content' 0.01640.0061 864.453170.6875
Script end 0.0225  935.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.0790120.0002
Check MTime0.00125.4418120.0001
Mysql Total
Database connection0.00156.747110.0015
Mysqli_queries0.002812.284040.0007
Looping result0.00000.128920.0000
Template Total0.005624.910.0056
Template load0.00114.765410.0011
Template processing0.004520.066810.0045
Override
Cache load0.00072.974010.0007
General
dbfile0.00219.2603100.0002
String conversion0.00000.026430.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs