dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: pitiko

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,019

    You try this code: if...

    You try this code:



    if (asppg_showGoogleAds) {
    var sc = document.createElement('script');
    sc.src = 'http://pagead2.googlesyndication.com/pagead/show_ads.js';
    sc.type = 'text/javascript';...
  2. Replies
    2
    Views
    1,913

    Maybe help you: function...

    Maybe help you:



    <script>
    function changeImage() {
    var date = new Date();
    var hour = date.getHours();
    var week = date.getDay();
    var images = new...
  3. Replies
    6
    Views
    2,991

    You can try this code: function...

    You can try this code:



    function enterBook()
    {
    var myBooks = new Array();
    var myPrices = new Array();
    var total = 0;
    for (i = 1; i <= 5; i++)
  4. Try this code: function myTest(){ var...

    Try this code:



    function myTest(){
    var myTest = document.form.select.options[document.form.select.selectedIndex].value;
    alert(myTest);
    }
  5. Replies
    8
    Views
    853

    My english is horrible, but I'll try to explain....

    My english is horrible, but I'll try to explain.

    1) You wrote: document.getelmentbyid it is all right to document.getElementById

    2) When you use getElmentById you must use the id in object:
    ...
  6. Replies
    8
    Views
    853

    Try this code:

    Try this code:



    <html>
    <head>
    <script type="text/javascript">
    function Calculate() {
    var x;
    var y=20;
  7. Look:...

    Look: http://www.w3schools.com/js/js_form_validation.asp

    I recommend this site: http://www.w3schools.com/js/default.asp
  8. Replies
    4
    Views
    872

    Add a value for field:

    Add a value for field:

    <input name="totalship" type="text" value="1" readonly="readonly">

    How are you working with calculation use the value the field with some number.

    If you use:

    <input...
  9. Replies
    4
    Views
    872

    Try ...

    Try



    <script type="text/javascript">
    function doCalcAndSubmit() {
    // get values
    var1 = document.forms["order"].NoBottles.value;
    var2 = document.forms["order"].donation.value;
    var5 =...
  10. Replies
    2
    Views
    777

    Sort mutiple select

    How sort multiple select:



    <script language="JavaScript">
    var texto = new Array();
    var valor = new Array();
    function colocar() {
    texto[0] = "HTML";
    texto[1] = "CSS";
  11. Thread: Array

    by pitiko
    Replies
    2
    Views
    494

    Thankss a lot :)

    Thankss a lot :)
  12. Thread: Array

    by pitiko
    Replies
    2
    Views
    494

    Array

    Hi,

    Retonar only one value of the Array?

    function animator() {
    var intervalo = window.setInterval("teste()",2000)
    }
    var myPix = new Array(4)

    myPix[0] = "u22.jpg"
  13. javascript: page1.html

    javascript: page1.html



    <script LANGUAGE="JavaScript">
    function seleciona() {
    if (F1.master.checked==true)
    for (i=0; i<document.F1.elements.length;i++)
    {...
  14. Replies
    3
    Views
    626

    confirm (msg)

    confirm (msg)
  15. Replies
    3
    Views
    777

    var test = "dog"; function animal()...

    <script>
    var test = "dog";

    function animal() {
    if (test = "dog") {
    alert("cool!")
    }
    else {
    alert("loser!")
    }
Results 1 to 15 of 15
HTML5 Development Center



Recent Articles