Please re-send the link for your code.
> Norah Jones hat am 20. März 2013 um 15:19 geschrieben:
>
>
> I've been working on a PHP/Javascript Cookie Notify (Including multiple
> language support). Now I have one small problem, when session_start() is not
> at the top, the
I've been working on a PHP/Javascript Cookie Notify (Including multiple
language support). Now I have one small problem, when session_start() is not at
the top, the cookie message works as it should be.
Now I am trying to add session_start(); at the top, as this will load the
current lan
On Thursday, April 28, 2011, Ashley Sheridan wrote:
> I'm not sure if my earlier reply got through, but here it is again (or
> at least the general gist of it)
Many thanks. I got your info the first time around but didn't respond
directly to you as Tedd made similar comments and I'd responded to
On Thu, 2011-04-28 at 10:17 -0400, tedd wrote:
> At 9:02 AM +0100 4/28/11, Geoff Lane wrote:
> >
> >FWIW, it's possible to detect whether or not Javascript is available,
> >but not AFAICT at 'first contact' because you need the 'first contact'
> >page to do something to prove that JS is available,
At 9:02 AM +0100 4/28/11, Geoff Lane wrote:
FWIW, it's possible to detect whether or not Javascript is available,
but not AFAICT at 'first contact' because you need the 'first contact'
page to do something to prove that JS is available, from which you can
assume that JS is not should that someth
tedd wrote:
> As Yogi Berra once said; "It's always hard to predict things
> especially when it deals with the future."
>
He was quoting Niels Bohr:
http://www.quotationspage.com/quote/26159.html
--
Per Jessen, Zürich (10.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
On Thursday, April 28, 2011, tedd wrote:
> To answer your question in a new thread.
> No, the $_SERVER super-global isn't going to give you anything nor is
> anything else like it.
> You see, PHP has a difficult time detecting IF Javascript is turned
> ON in the client's browser because PHP
At 6:42 PM +0100 4/27/11, Geoff Lane wrote:
However, I do have one residual question. I suspect the short answer
to this is "No", but since the list is quiet I'll ask anyway:
Q: Is it possible to check whether Javascript is available on the
client without using client-side Javascript to create a
At 7:45 PM -0400 4/25/11, Daniel Brown wrote:
On Mon, Apr 25, 2011 at 19:12, Nathan Rixham wrote:
It is the browser, chrome will prevent execution because the code was sent
in the request, just check the javascript console and you'll see something
like:
"Refused to execute a JavaScript s
On Mon, Apr 25, 2011 at 19:12, Nathan Rixham wrote:
>
> It is the browser, chrome will prevent execution because the code was sent
> in the request, just check the javascript console and you'll see something
> like:
>
> "Refused to execute a JavaScript script. Source code of script found within
>
Stuart Dallas wrote:
On Monday, 18 April 2011 at 20:50, tedd wrote:
The form "as-is" produced a javascript alert() and now it doesn't.
This is not a browser change because it's happening before the browser sees the
response (try it with curl).
It is the browser, chrome will prevent executio
On Mon, Apr 18, 2011 at 02:42:09PM -0400, tedd wrote:
[snip]
>
> No, I had a simple form where IF the user entered:
>
> alert("Evil Code");
>
> -- into the form's text field (i.e., $_POST['text'] ) AND clicked
> Submit, the form would
>
> echo( $_POST['text'] );
>
> -- and that would produ
At 4:44 PM -0400 4/18/11, Daniel Brown wrote:
On Mon, Apr 18, 2011 at 15:50, tedd wrote:
It doesn't make any difference if I use stripslashes() or not, it still will
NOT produce a javascript alert as it used to do.
Interestingly enough, I copied your index.php file to index2.php
on the
On Mon, Apr 18, 2011 at 15:50, tedd wrote:
>
> It doesn't make any difference if I use stripslashes() or not, it still will
> NOT produce a javascript alert as it used to do.
Interestingly enough, I copied your index.php file to index2.php
on the server and modified it to use stripslashes() a
On Monday, 18 April 2011 at 20:50, tedd wrote:
> Daniel et al:
>
> Sorry -- I'm not making myself clear.
>
> The form "as-is" produced a javascript alert() and now it doesn't.
>
> It doesn't make any difference if I use stripslashes() or not, it
> still will NOT produce a javascript alert as i
At 2:46 PM -0400 4/18/11, Daniel Brown wrote:
On Mon, Apr 18, 2011 at 14:42, tedd wrote:
No, I had a simple form where IF the user entered:
alert("Evil Code");
-- into the form's text field (i.e., $_POST['text'] ) AND clicked Submit,
the form would
echo( $_POST['text'] );
-- and tha
On Mon, 2011-04-18 at 14:42 -0400, tedd wrote:
> At 1:09 PM -0400 4/18/11, Joshua Kehn wrote:
> >On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
> >
> >>Hi gang:
> >>
> >>Quite some time ago I had a demo that showed Javascript injection. It
> >>was where a user could type in:
> >>
> >> alert("Ev
On Mon, Apr 18, 2011 at 14:42, tedd wrote:
>
> No, I had a simple form where IF the user entered:
>
> alert("Evil Code");
>
> -- into the form's text field (i.e., $_POST['text'] ) AND clicked Submit,
> the form would
>
> echo( $_POST['text'] );
>
> -- and that would produce a JavaScript Alert.
>
At 1:09 PM -0400 4/18/11, Joshua Kehn wrote:
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
alert("Evil Code");
and a JavaScript alert would be shown.
But now my demo no longer
s with systems that are on life support...
>
>
> -Original Message-
> From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
> Sent: Monday, April 18, 2011 2:03 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] JavaScript Injection ???
>
>
>
lto:jim.gi...@albanyhandball.com]
Sent: Monday, April 18, 2011 2:03 PM
To: php-general@lists.php.net
Subject: Re: [PHP] JavaScript Injection ???
wrote in message
news:005501cbfdeb$457839c0$d068ad40$@com...
> Javascript:alert("Hello World");
> The browsers have had many updates since last I se
wrote in message
news:005501cbfdeb$457839c0$d068ad40$@com...
> Javascript:alert("Hello World");
> The browsers have had many updates since last I seen this work.
>
?? You're saying that "alert" doesn't work on your browse? Gee - it works
on mine.
--
PHP General Mailing List (http://www.p
On Mon, 2011-04-18 at 22:43 +0530, Shreyas Agasthya wrote:
> Is someone up to Cross Site Scripting? ;)
>
> --Shreyas
>
> On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn wrote:
>
> > On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
> > Hi gang:
> > >
> > > Quite some time ago I had a demo that s
Is someone up to Cross Site Scripting? ;)
--Shreyas
On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn wrote:
> On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
> Hi gang:
> >
> > Quite some time ago I had a demo that showed Javascript injection. It
> > was where a user could type in:
> >
> > aler
tedd [mailto:t...@sperling.com]
Sent: Monday, April 18, 2011 1:06 PM
To: php-general@lists.php.net
Subject: [PHP] JavaScript Injection ???
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
alert("Evil Code");
and a JavaScript a
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
>
> Quite some time ago I had a demo that showed Javascript injection. It
> was where a user could type in:
>
> alert("Evil Code");
>
> and a JavaScript alert would be shown.
>
> But now my demo no longer works. So, what happened? Was
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
alert("Evil Code");
and a JavaScript alert would be shown.
But now my demo no longer works. So, what happened? Was there a php
update that prohibited that sort of behavior or did
, Tuenti is also one of the fastest-growing Alexa Top 500 sites and
one of the largest invite-only websites worldwide.
I am writing you because we have job opportunities for PHP/JavaScript
Engineers that could be interesting for you.
You can find more information about this position here:
http
Boyd, Todd M. wrote:
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a Browser/DOM question) for you folks. I'm no
> -Original Message-
> From: Michael A. Peters [mailto:mpet...@mac.com]
> Sent: Monday, March 02, 2009 4:42 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] Javascript question
>
> Boyd, Todd M. wrote:
> > Before some of you newbies feel
> -Original Message-
> From: Robert Cummings [mailto:rob...@interjinn.com]
> Sent: Monday, March 02, 2009 4:18 PM
> To: Boyd, Todd M.
> Cc: PHP General list
> Subject: Re: [PHP] Javascript question
>
> On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
> &
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
> Before some of you newbies feel like being heroes and jump all over me:
>
> I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
> ANSWER IT.
>
> Now that that's out of the way... I have a Javascript question (and
> mayb
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a Browser/DOM question) for you folks. I'm not sure this is
anything
Applejus wrote:
> Hello there,
>
> Kind of newbie to PHP and javascript... I have this problem:
>
> I want to pass a javascript variable to a PHP code.
> I am inside a javascript function that is creating HTML elements
> dynamically. After creating a tag, I want to populate it with a
> list of v
the javascript code?
I hope it's clear...
Thanks for your help.
--
View this message in context:
http://www.nabble.com/PHP-Javascript-header-tp21483721p21483721.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 28/12/08 13:33, Alain Roger wrote:
i'm currently working on some project which needs in several pages, a table
to display query results...till now nothing special.
however, in order to not create several time the table and features i've
decided to create my own templates including PHP classes
Hi,
i'm currently working on some project which needs in several pages, a table
to display query results...till now nothing special.
however, in order to not create several time the table and features i've
decided to create my own templates including PHP classes, CSS and
javascript.
this "table"
May be jsninja has mailing list.
I am fond of jquery. so i recommend it too.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
look at jquery - it will make working with javascript so much easier
and has it's own community around it too.
On 8/30/08, Richard Heyes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can anyone recommend a good Javascript related mailing list?
>
> Thanks.
>
> --
> Richard Heyes
>
> HTML5 Graphing:
> http:/
Richard Heyes wrote:
Can anyone recommend a good Javascript related mailing list?
http://lists.evolt.org/mailman/listinfo/javascript perhaps.
--
Benjamin Hawkes-Lewis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Can anyone recommend a good Javascript related mailing list?
Thanks.
--
Richard Heyes
HTML5 Graphing:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
>
> my page include some javascript to control the play,rewind..and other
> functions of the swffile showEdit.swf, it works in Safari/IE with
> flash-plugin 8/9 installed but not works in Firefox with flash plugin
> 9(would reports obj.play() is not a function,
my page include some javascript to control the play,rewind..and other functions
of the swffile showEdit.swf, it works in Safari/IE with flash-plugin 8/9
installed but not works in Firefox with flash plugin 9(would reports
obj.play() is not a function, is any one point out what is the problem
At 4:01 PM +0100 5/16/08, Ford, Mike wrote:
On 14 May 2008 21:21, tedd advised:
At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
Hi,
I have this HTML/JS page that switches images
clicking on the radio buttons and call
template.php with the image ID as parameter:
http://portulan-online.net/
On 16 May 2008 16:12, Boyd, Todd M. advised:
>> -Original Message-
>
> 8< snip!
>
>> That's incorrect. A form will function perfectly well with only
name=
>> attributes, and no ids, and it's quite possible for JavaScript to
>> address the form elements using only the names (in fact, it'
> -Original Message-
8< snip!
> That's incorrect. A form will function perfectly well with only name=
> attributes, and no ids, and it's quite possible for JavaScript to
> address the form elements using only the names (in fact, it's easier
> than via the ids as there's a short syntax fo
On 14 May 2008 21:21, tedd advised:
> At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
>> Hi,
>>
>> I have this HTML/JS page that switches images
>> clicking on the radio buttons and call
>> template.php with the image ID as parameter:
>> http://portulan-online.net/einstein.html
>>
>> Now, I need t
At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
Hi,
I have this HTML/JS page that switches images
clicking on the radio buttons and call
template.php with the image ID as parameter:
http://portulan-online.net/einstein.html
Now, I need to make it a PHP page, because it is
going to receive a p
On Wed, May 14, 2008 at 2:31 PM, Mário Gamito <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have this HTML/JS page that switches images clicking on the radio buttons
> and call template.php with the image ID as parameter:
> http://portulan-online.net/einstein.html
>
> Now, I need to make it a PHP page, b
Hi,
I have this HTML/JS page that switches images clicking on the radio
buttons and call template.php with the image ID as parameter:
http://portulan-online.net/einstein.html
Now, I need to make it a PHP page, because it is going to receive a
parameter from the URL that calls it and pass it
On 8/12/07, tedd <[EMAIL PROTECTED]> wrote:
> For example, if your wife says (and you're not listening as usual)
> "Do these pants make my butt look big?" Neither answer is going to
> help much. But, if said separately, you at least have a chance of
> surviving the ordeal.
And I'll also point
On Sun, 2007-08-12 at 21:27 -0400, tedd wrote:
> At 1:26 PM -0400 8/11/07, Robert Cummings wrote:
> >On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
> > > Always (fishing for another apology opportunity) place javascript in
> >> external files and call them in via the header. Keep the code
> >> u
At 10:21 PM +0930 8/12/07, David Robley wrote:
tedd wrote:
>
At this rate, by the time I reach the end of my life, I'll know only
two sentences, namely "I'm sorry" and "Yes, Dear".
Seems to me you could rather easily condense that to just one sentence with
the same degree of functionality.
At 1:26 PM -0400 8/11/07, Robert Cummings wrote:
On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
> Always (fishing for another apology opportunity) place javascript in
external files and call them in via the header. Keep the code
unobtrusive. There are ways to use javascript without having to
tedd wrote:
> At 9:29 PM +0200 8/7/07, Tijnema wrote:
>>On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> > Yeah!! This list is for public apologies and Copyright discussion.
>>>
>>> Cheers,
>>> Rob.
>>> --
>>
>>Oh yeah, Tedd is only the first of thousands of people that need to
>>apolo
On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
> At 9:29 PM +0200 8/7/07, Tijnema wrote:
> >On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > Yeah!! This list is for public apologies and Copyright discussion.
> >>
> >> Cheers,
> >> Rob.
> >> --
> >
> >Oh yeah, Tedd is only the first o
At 9:29 PM +0200 8/7/07, Tijnema wrote:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> Yeah!! This list is for public apologies and Copyright discussion.
Cheers,
Rob.
--
Oh yeah, Tedd is only the first of thousands of people that need to
apologize... :P
Tijnema
Ah crap, have
On Tue, August 7, 2007 2:48 pm, Tijnema wrote:
> On 8/7/07, Greg Donald <[EMAIL PROTECTED]> wrote:
>> On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
>> > Uhh, do you know which list this is?
>>
>> I give up.. Is it the one where I get as many [OT] labeled emails
>> as
>> I do on-topic ones?
>>
>> P
On Tue, August 7, 2007 3:19 pm, C.R.Vegelin wrote:
> Are there any rules when to include javascript in or in
> ?
> For example,
>
> function reload(form)
> { var
> val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
Yes
Richard Davey wrote:
Tuesday, August 7, 2007, 9:52:28 PM, you wrote:
PHP is the absolute worst language to do any sort of OO programming
in.
Ignoring the digg user mentality of that statement, try ASP if you
want to see OO suck *royally*
ASP is not a language, it's most like a framework. I
Hi Greg,
Tuesday, August 7, 2007, 9:52:28 PM, you wrote:
> PHP is the absolute worst language to do any sort of OO programming
> in.
Ignoring the digg user mentality of that statement, try ASP if you
want to see OO suck *royally*
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.u
On Tue, 2007-08-07 at 15:52 -0500, Greg Donald wrote:
> On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
>
> You mean how both Ruby and Python list serv traffic is way up while
> PHP's is way down?
Way up and way down ar
Yes. Just yes.
regards,
boro
Greg Donald schreef:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list i
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list is really slowed the past
year or so.. just some guy named Richa
On Tue, 2007-08-07 at 14:58 -0500, Greg Donald wrote:
> On 8/7/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> > "Later this week on Php-General, witness the revolutionary
> > confessions of a PHP Programmer stuck in the middle of a lovers
> > triangle of OOP, and Procedural"
>
> That's a re-run. Py
On Tue, 2007-08-07 at 15:50 -0400, [EMAIL PROTECTED] wrote:
>
> 3. If you're executing JS in order to output something, you're going
> to need to put it whereever in your HTML you'll need the output. If
> you're just defining functions to be called later, then you can put
> it whereever (probably
On 8/7/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> "Later this week on Php-General, witness the revolutionary
> confessions of a PHP Programmer stuck in the middle of a lovers
> triangle of OOP, and Procedural"
That's a re-run. Python wins with Ruby coming in second place. PHP
gets renamed to J
Ok, you got the obligatory 'wrong list' comments. It is the wrong list, but
for the sake of public completeness... how about an answer to the question.
You can put it anywhere but a couple of considerations:
1. I believe if you put it AFTER where the JS functions defined in that block
are call
On 8/7/07, Greg Donald <[EMAIL PROTECTED]> wrote:
> On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
> > Uhh, do you know which list this is?
>
> I give up.. Is it the one where I get as many [OT] labeled emails as
> I do on-topic ones?
>
> People have been asking basic html questions here for (over?
On 8/7/07, Richard Heyes <[EMAIL PROTECTED]> wrote:
> C.R.Vegelin wrote:
> > Are there any rules when to include javascript in or in ?
> > For example,
> >
> > function reload(form)
> > { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> >self.location='QueryForm.php
: "C.R.Vegelin" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]"
Sent: Tuesday, August 07, 2007 10:19 PM
Subject: [PHP] javascript in or in ?
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.op
On Tue, 2007-08-07 at 21:19 +0100, C.R.Vegelin wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
In
On Aug 7, 2007, at 3:29 PM, Tijnema wrote:
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
Are there any rules when to include javascript in or in
?
For example,
function reload(for
On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote:
> Uhh, do you know which list this is?
I give up.. Is it the one where I get as many [OT] labeled emails as
I do on-topic ones?
People have been asking basic html questions here for (over?) a
decade, and it probably won't stop anytime soon. Newcomer
C.R.Vegelin wrote:
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
C.R.Vegelin wrote:
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
> > On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> > > Are there any rules when to include javascript in or in ?
> > > For example,
> > >
> > > function reload(form)
> > > { var val=fo
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
> On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> > Are there any rules when to include javascript in or in ?
> > For example,
> >
> > function reload(form)
> > { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> >
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
>self.location='QueryForm.php?Chapter=' + val ;
> }
>
w3 says
On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
> Are there any rules when to include javascript in or in ?
> For example,
>
> function reload(form)
> { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
> self.location='QueryForm.php?Chapter=' + val ;
> }
>
>
> TIA, C
Are there any rules when to include javascript in or in ?
For example,
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
}
TIA, Cor
What you *COULD* do is this:
Use .htaccess to force your .css files to *really* be PHP files:
ForceType application/x-httpd-php
[NOTE: Depending on your server configuration, the
application/x-httpd-php part could be *ANYTHING* the sysadmin felt was
appropriate...]
Inside your CSS, you now
2007. 03. 8, csütörtök keltezéssel 09.14-kor Alain Roger ezt írta:
> Hi,
>
> I would like to know if there is a way how PHP code can extract from
> ElementID some property values.
>
> for example, i have the following PHP page :
>
> print "my main div";
> $new_Width = somefunction();
> print "
Hi,
I would like to know if there is a way how PHP code can extract from
ElementID some property values.
for example, i have the following PHP page :
my main div";
$new_Width = somefunction();
print "my child div";
?>
in my CSS file (which is link to my HTML page), i have :
.maindiv
{
width :
On Thu, 2007-02-08 at 10:21 -0500, Dan Shirah wrote:
> You guys are going to kill me! I found my problemand it's one of those
> "What the hell were you thinking" issues.
Nah, probably lots of us have been bitten by that. I know I have been in
the past, so now I always name my submit buttons "
You guys are going to kill me! I found my problemand it's one of those
"What the hell were you thinking" issues.
Within my form was a "button" but I stupidly made it a submit when I created
it and therefore the javascript check for submit was finding my button first
and dumping the error.
S
Jon Anderson wrote:
...
item.focus();
}
** alert(onError);
**return(false);*
*}
...
Sorry about the "*"s everywhere (there aren't supposed to be any). I
pasted the code in, and Thunderbird thought it was supposed to be bold
for some reason, then converted the bold text to text with "
Dan Shirah wrote:
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
*I don't know what browser/platform you're using, but the following
works for me on IE7/Windows, FF2/Linux, Opera9/Linux.
jon
function checkInputValue(item,onError) {
Don't see how this can pass the check without document.
if (inputForm.cc_phone_number.value == "") {
alert( "Please enter a phone number." );
inputForm.cc_phone_number.focus();
return;
}
Comming to this check already gives an error.
Maybe ask on some Javascript list.
P.s. reply to th
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
On 2/8/07, Jon Anderson <[EMAIL PROTECTED]> wrote:
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
AF
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
AFAIK, the direct document.xyz doesn't work exactly the same way accross
browsers (if at all).
e.g. (WARNING! TOTALLY UNTESTED CODE!)
function checkInputValu
On cs, 2007-02-08 at 09:09 -0500, Dan Shirah wrote:
> Nope, same result unfortunately.
well, sorry, then my memories were incorrect
maybe I should run a memtest86 on myself ;)
greets
Zoltán Németh
>
> On 2/8/07, Németh Zoltán <[EMAIL PROTECTED]> wrote:
> On cs, 2007-02-08 at 08:56
There is nothing wrong with the way you want to submit this form.
Although it's JS :) The sample code you posted was broken in some ways...
missing document. in JS en missing input field to check.
This sample works fine ...
test.html
function checkForm() {
if (document.inputForm.cc_phone_num
Nope, same result unfortunately.
On 2/8/07, Németh Zoltán <[EMAIL PROTECTED]> wrote:
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
> Okay, I'll try your spacer solution. Where do you think I should add
> it?
I put it right before the tag, but I think you could put it
anywhere between
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
> Okay, I'll try your spacer solution. Where do you think I should add
> it?
I put it right before the tag, but I think you could put it
anywhere between the and the
greets
Zoltán Németh
>
> On 2/8/07, Németh Zoltán <[EMAIL PROTECTED]> wr
On cs, 2007-02-08 at 08:41 -0500, Dan Shirah wrote:
> I should not need an actual Button if my link to checkForm() ends with
> document.inputForm.submit(); which tells the form to submit, right?
well, you should be right...
but I remember a year ago or so I had a similar problem and the image
inpu
On cs, 2007-02-08 at 08:14 -0500, Dan Shirah wrote:
> Okay, I edited my page per some suggestions here. Below is what I now have:
>
>
>
> function checkForm() {
>
> // ** START **
> if (inputForm.cc_phone_number.value == "") {
> alert( "Please enter a phone number." );
> inputForm.c
Okay, I edited my page per some suggestions here. Below is what I now have:
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == "") {
alert( "Please enter a phone number." );
inputForm.cc_phone_number.focus();
return;
}
**Lots of other checks here, jus
At 2/7/2007 01:34 PM, Dan Shirah wrote:
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my save
page. However it seems that once the processing is com
Dan Shirah wrote:
And this is my Save option at the bottom of my page
Save
ErWhy aren't there any input elements within the tag? Maybe
you just condensed-out the inputs, but if your inputs aren't within the
form, they won't be submitted.
E.g. if you have:
...
If you subm
1 - 100 of 575 matches
Mail list logo