FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » how to pass text set in a javascript?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to pass text set in a javascript? [message #178863 is a reply to message #178861] Wed, 15 August 2012 21:58 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Wed, 15 Aug 2012 20:35:15 +0100, Mike Winter wrote:

> On 15/08/2012 19:30, Denis McMahon wrote:
>> On Tue, 14 Aug 2012 20:51:23 -0700, thejustpark wrote:
>>
>>> OK, let me summarize with a code snippet.
>>
>> The button to load your example text does not need to be a part of the
>> form, but your form submit button does. Your "Input" button is not
>> acting as a submit button because of the function call.

> The input button is not acting like a submit button because it's /not/ a
> submit button (type="button"). It is inert, insofar as form actions are
> concerned.

* facedesks *

My bad, I confused <button ....> where the default action (no
"type='[input|submit|button]'" attribute) is to act as a submit, and
<input type="button" .... >

I shall stare at a printed copy of the 4.01 strict DTD until I fall
asleep tonight as penance.

>> disabled="" is better written as disabled="disabled". [snip]
>
> If the attribute is given a value, that value /must/ be "disabled". In
> HTML (but not XHTML), it would also be valid to simply write the
> attribute name; the value would be assumed.

Yes, but I sometimes try and lead gently rather than shout ;)

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHPUnit documentation
Next Topic: Create hierarchical tree structure for categories in joomla
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 03:23:04 GMT 2024

Total time taken to generate the page: 0.04258 seconds