Jump to content

..html(out).show("slow")


detestableguy

Recommended Posts

I am having problem running the --show("slow")-- part of the code...any ideas why this is not working?

 

 

<script type="text/javascript">

function get() {

$.post( 'data.php',

{ value: form1.name.value },

function (out) {

$('#age').html(out).show("slow");

});

};

<script>

 

<body>

<form name="form1">

 

<p>

  <select name="select" onChange="sel();">

    <option value="1">1</option>

    <option value="2">2</option>

      </select>

</p>

</body>

 

 

I have tried searching the solution, but can't find any..

Link to comment
https://forums.phpfreaks.com/topic/240357-htmloutshowslow/
Share on other sites

I have marked the part in bold.....please some body help me!!!  >:(

<script type="text/javascript">

function get() {

  $.post(  'data.php',

        { value: form1.name.value },

        function (out) {

          $('#age').html(out).show("slow");

        });

  };

<script>

 

<body>

<form name="form1">

 

  <p>

    <select name="select" onChange="sel();">

      <option value="1">1</option>

      <option value="2">2</option>

      </select>

</p>

</body>

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/240357-htmloutshowslow/#findComment-1234723
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.