If I'm pretty sure there is just one form on the page, can i do this?
var myForm = document.forms[0];
If I'm not sure about the form, is it safer to do this?
if (document.forms[0]) {
var myForm = document.forms[0];
// more code here........
}
Can I then get the elements array like this?
var myElements = myForm.elements;
?????????????
<script type="text/javascript">
function openInNewWindowString(windowText) {
window.open(windowText, 'Show_Form_Submission_To_User',
'toolbar=yes,width=200,height=400,directories=no,s tatus=yes,scrollbars=yes,resizable=yes,menubar=yes ');
docWindow.focus();
return false;
}
function postFormSubmissionToNewWindow() {
var elementsArrayLength = document.forms[0].length;
var whatIsBeingSubmitted = '<h1>You just wrote:</h1>';
for (i=0; i < elementsArrayLength; i++) {
whatIsBeingSubmitted += document.forms[0].elements[i];
whatIsBeingSubmitted += '<hr>';
}
openInNewWindowString(whatIsBeingSubmitted);
}
</script> 18 7908
lawrence wrote: If I'm pretty sure there is just one form on the page, can i do this?
You need to be certain as your code will return a reference to the
first form if it exists. var myForm = document.forms[0];
Yes. If I'm not sure about the form, is it safer to do this?
if (document.forms[0]) { var myForm = document.forms[0]; // more code here........ }
Yes, but it's safer to test that the users browser supports
document.forms before trying to use it:
if (document.forms && document.forms[0]) {
...
} else {
// do something else
// or degrade gracefully
}
Can I then get the elements array like this?
var myElements = myForm.elements;
Yes. In regard to:
function postFormSubmissionToNewWindow() { var elementsArrayLength = document.forms[0].length;
Whilst this line works, it is probably better to address the elements
collection directly using:
document.forms[0].elements.length
However, you don't need this variable at all if you modify the
following line:
for (i=0; i < elementsArrayLength; i++) {
to:
for (i=0; i < elementsArray.length; i++) {
[...]
RobG wrote: lawrence wrote:
If I'm pretty sure there is just one form on the page, can i do this?
You need to be certain as your code will return a reference to the first form if it exists.
var myForm = document.forms[0];
Yes.
If I'm not sure about the form, is it safer to do this?
if (document.forms[0]) { var myForm = document.forms[0]; // more code here........ }
Yes, but it's safer to test that the users browser supports document.forms before trying to use it:
if (document.forms && document.forms[0]) { ... } else { // do something else // or degrade gracefully }
Is there a browser/UA that does not support document.forms and fails on
this test:
if (document.forms[0])
?
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Randy Webb wrote: RobG wrote:
[...] Yes, but it's safer to test that the users browser supports document.forms before trying to use it:
if (document.forms && document.forms[0]) { ... } else { // do something else // or degrade gracefully }
Is there a browser/UA that does not support document.forms and fails on this test:
if (document.forms[0])
My idea was that if a browser does not support document.forms, then
asking it to evaluate document.forms[0] may return some spurious value
whereas it should gracefully handle document.forms even if it doesn't
understand it.
Or have I totally lost the plot?
Cheers, Rob.
RobG wrote:
[...] for (i=0; i < elementsArray.length; i++) {
The OP may want to change that to:
for (var i=0; i < elementsArray.length; i++) {
unless i really does need to be global.
Fred.
RobG wrote: Randy Webb wrote: RobG wrote: [...] Yes, but it's safer to test that the users browser supports document.forms before trying to use it:
if (document.forms && document.forms[0]) { ... } else { // do something else // or degrade gracefully }
Is there a browser/UA that does not support document.forms and fails on this test:
if (document.forms[0])
My idea was that if a browser does not support document.forms, then asking it to evaluate document.forms[0] may return some spurious value whereas it should gracefully handle document.forms even if it doesn't understand it.
If a user agent does not understand document.forms in client-side JavaScript,
then there is no way to handle it at all. You can degrade gracefully and not
attempt to do anything if you can't access the DOM elements you need to
access:
var f = document.forms;
if (f) {
f = f['yourFormName'];
}
if (f) {
f = f.elements;
}
if (f) {
if (f['yourInputName']) {
alert(f['yourInputName'].value);
}
}
Alternatively:
var f;
if ((f = document.forms) &&
(f = f['yourFormName']) &&
(f = f.elements)) {
if (f['yourInputName']) {
alert(f['yourInputName'].value);
}
}
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Fred Oz <oz****@iinet.net.auau> wrote in message news:<41***********************@per-qv1-newsreader-01.iinet.net.au>... RobG wrote: [...] for (i=0; i < elementsArray.length; i++) {
The OP may want to change that to:
for (var i=0; i < elementsArray.length; i++) {
unless i really does need to be global.
Sorry for the idiot question, but why is it global when it is defined
inside a function? Javascript's scope rules confuse me. How do I make
it local?
"lawrence" <lk******@geocities.com> wrote in message
news:da**************************@posting.google.c om... Fred Oz <oz****@iinet.net.auau> wrote in message
news:<41***********************@per-qv1-newsreader-01.iinet.net.au>... RobG wrote: [...] for (i=0; i < elementsArray.length; i++) {
The OP may want to change that to:
for (var i=0; i < elementsArray.length; i++) {
unless i really does need to be global.
Sorry for the idiot question, but why is it global when it is defined inside a function? Javascript's scope rules confuse me. How do I make it local?
<script>
var i = 0; // global to the document
function myFunction()
{
var j = 0; // global to the function but not the document
for (var k = 0; k < myThing.length; k++) // global to the for loop but
not the function or document
{
<do some for loop stuff>
{
var l = 0; // local to the code block
}
}
}
</script>
Where you define the variable determines how global or local it is.
lawrence wrote: Fred Oz <oz****@iinet.net.auau> wrote in message news:<41***********************@per-qv1-newsreader-01.iinet.net.au>... RobG wrote: [...] for (i=0; i < elementsArray.length; i++) {
The OP may want to change that to:
for (var i=0; i < elementsArray.length; i++) {
unless i really does need to be global.
Sorry for the idiot question, but why is it global when it is defined inside a function? Javascript's scope rules confuse me. How do I make it local?
<url: http://docs.sun.com/source/816-6409-...nt.htm#1009822 />
As I understand it, variables in JavaScript are properties of an object. If you declare the variable with the "var"
keyword, it is a property of the immediate parent object (not code block). If you neglect to include the "var" keyword, it
becomes a property of the default global object.
var a = 1;
function test1() {
a = 5; // property of global object
}
test1();
alert(a); // 5
var a = 1;
function test2() {
var a = 5; // property of object referenced by 'test2'
}
test2();
alert(a); // 1
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
MyndPhlyp said: <script> var i = 0; // global to the document
function myFunction() { var j = 0; // global to the function but not the document
for (var k = 0; k < myThing.length; k++) // global to the for loop but not the function or document { <do some for loop stuff> { var l = 0; // local to the code block } } } </script>
Where you define the variable determines how global or local it is.
Your k and l will actually be local to the function,
not the loop or block as in many other languages.
On 16 Nov 2004 09:02:07 -0800, lawrence <lk******@geocities.com> wrote:
[snip] Sorry for the idiot question, but why is it global when it is defined inside a function? Javascript's scope rules confuse me.
The scope rules are similar to other languages, with one major exception:
there's no block scope.
At a conceptual level, there are three levels of scope: global, object,
and local.
1) Global variables and functions can be accessed by any script within a
document. You declare global variable with
var identifier;
outside any function. Similarly, defining a function outside any other
function
function myFunction() {
}
will cause myFunction to be global. Finally, if you assign a value to a
previously undefined identifier
unique = value;
it is created global. This is what happened with 'i' in your code. It
wasn't defined anywhere, so it would become global.
2) By "object" scope, I'm refering to the properties of an object. I
shouldn't need to explain that any further.
3) Local variables are made local through use of the var keyword. When it
is used within a function, that variable is local to that function.
function myFunction() {
var myVariable;
}
/* myVariable doesn't exist here. */
The details of variable scope - what goes on "under the hood" - is really
quite different, but I'll leave that and allow you to digest the
explanation above.
How do I make it local?
Fred did in his post: declare the variable using the var keyword within a
function.
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
MyndPhlyp wrote: lawrence wrote:
<snip> Sorry for the idiot question, but why is it global when it is defined inside a function? Javascript's scope rules confuse me. How do I make it local? <script> var i = 0; // global to the document
function myFunction() { var j = 0; // global to the function but not the document
for (var k = 0; k < myThing.length; k++) // global to the for loop but not the function or document
That isn't true. Languages such as Java are block scoped but
javascript/ECMAScript is not. All variables declared within a function
using the - var - keyword are scoped to the (whole) function (including
any inner functions it may have).
<snip> Where you define the variable determines how global or local it is.
True, but in javascript that scopeing is lexical and at function
intervals.
Richard.
I've implemented the function which you can see below, and now when I
hit post on a form, I've started gettting this error in the new
window, and nothing input on the first page: >>>>>>>>>>>>>
Not Found
The requested URL /<h1>You just wrote:</h1>[object
HTMLInputElement]<hr>[object HTMLInputElement]<hr>[object
HTMLInputElement]<hr>[object HTMLInputElement]<hr> was not found on
this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.>>>>>>>>>>>>>
Is this because of the javascript, or should I look somewhere else for
the problem? Does the javascript somehow suck the info out of the form
when the form is input? That was not my intention. I want all the form
info to be input to my PHP script. I only wanted to show the user what
they'd just input, using Javascript. lk******@geocities.com (lawrence) wrote in message news:<da**************************@posting.google. com>... If I'm pretty sure there is just one form on the page, can i do this?
var myForm = document.forms[0];
If I'm not sure about the form, is it safer to do this?
if (document.forms[0]) { var myForm = document.forms[0]; // more code here........ }
Can I then get the elements array like this?
var myElements = myForm.elements;
????????????? <script type="text/javascript">
function openInNewWindowString(windowText) { window.open(windowText, 'Show_Form_Submission_To_User', 'toolbar=yes,width=200,height=400,directories=no,s tatus=yes,scrollbars=yes,resizable=yes,menubar=yes '); docWindow.focus(); return false; }
function postFormSubmissionToNewWindow() { var elementsArrayLength = document.forms[0].length; var whatIsBeingSubmitted = '<h1>You just wrote:</h1>';
for (i=0; i < elementsArrayLength; i++) { whatIsBeingSubmitted += document.forms[0].elements[i]; whatIsBeingSubmitted += '<hr>'; }
openInNewWindowString(whatIsBeingSubmitted); }
</script>
On 18 Nov 2004 00:19:29 -0800, lawrence <lk******@geocities.com> wrote:
[snip] Is this because of the javascript,
Yes, specifically
window.open(windowText,
The first argument to window.open is *always* a URL. What the browser is
attempting is to open a network resource using the string you generate.
Obviously, this isn't your intent. What you need to do is use the
javascript : scheme. This will instruct the browser to evaluate the
following text as if it were Javascript. You then should pass a string
literal which the browser will display.
function openInNewWindowString(windowText) {
window.open('javascript :"'
+ windowText.replace(/\"/g, '\\"') + '"',
'userSubmission',
'width=200,height=400,status,scrollbars,resizable, toolbar');
Notice that I alter the string. If double quotes were present in the
string, it would produce a syntax error. Replacing " with \" removes that
problem. Also notice the slightly shorter, but equivalent, feature string.
[snip] function postFormSubmissionToNewWindow() {
Here's a replacement:
var elem = document.forms[0].elements,
temp = ['<h1>You just wrote:<\/h1>'];
for(var i = 0, n = elem.length; i < n; ++i) {
temp[temp.length] = elem[i].name;
temp[temp.length] = ': ';
temp[temp.length] = elem[i].value;
temp[temp.length] = '<hr>';
}
openInNewWindowString(temp.join(''));
There are two major changes here:
1) The items are added to an array, then concatenated at the end.
The idea is that the native code that executes the join method is faster
than doing a large number of += concatenations.
2) I've output the names of each element, followed by their values.
If you look at the error message you posted, you'll see things like
[object HTMLInputElement]. That is what an INPUT element produces when you
call its toString method. Not very useful, is it.
Just outputting the names and values is a very simplistic approach, but
fine if you just have some INPUT (text) controls. If you start
incorporating the presence of SELECT elements with the multiple attribute
set, or disabled controls, you'll have to do a lot more work.
Hope that helps,
Mike
In future, please don't top-post. Even to your own messages.
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:<opshnlzwkpx13kvk@atlantis>... On 18 Nov 2004 00:19:29 -0800, lawrence <lk******@geocities.com> wrote:
Just outputting the names and values is a very simplistic approach, but fine if you just have some INPUT (text) controls. If you start incorporating the presence of SELECT elements with the multiple attribute set, or disabled controls, you'll have to do a lot more work.
Thank you. I've been thinking about some of the complaints that
Jonathan Delacour had about the state of web writing tools: http://weblog.delacour.net/archives/...iting_tool.php.
As he points out, this is a problem for the makers of web browsers to
solve. It can't be solved with PHP or Javascript. However, a few of
the worst problems can be slightly ameliorated with Javascript. One
problem that trips people up is when they write a long entry (in a
textarea in a form on a page that will then be submitted to a PHP,
Perl, or Python script) then hit the submit button, only to lose all
their work because while they were writing they either lost their
internet connection or their session timed out. I know I've lost work
this way. At a minimum, I've been thinking, the browser can take all
the form data and replicate it somewhere, perhaps in another window,
so that all your data won't get lost if you hit the submit and it
turns out you no longer have an internet connection. Is this because of the javascript,
Yes, specifically
window.open(windowText,
The first argument to window.open is *always* a URL. What the browser is attempting is to open a network resource using the string you generate.
Obviously, this isn't your intent. What you need to do is use the javascript: scheme. This will instruct the browser to evaluate the following text as if it were Javascript. You then should pass a string literal which the browser will display.
I'll implement this. Does the form data on the parent page still get
submitted to the server in the normal way?
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:<opshnlzwkpx13kvk@atlantis>... On 18 Nov 2004 00:19:29 -0800, lawrence <lk******@geocities.com> wrote: function postFormSubmissionToNewWindow() {
Here's a replacement:
var elem = document.forms[0].elements, temp = ['<h1>You just wrote:<\/h1>'];
for(var i = 0, n = elem.length; i < n; ++i) { temp[temp.length] = elem[i].name; temp[temp.length] = ': '; temp[temp.length] = elem[i].value; temp[temp.length] = '<hr>'; } openInNewWindowString(temp.join(''));
So, in this line:
temp = ['<h1>You just wrote:<\/h1>'];
you are creating the variable temp as a global variable because you
are not using the 'var' keyword? And it is automatically an array
because of the brackets that you use? Could I also do this?
temp[] = '<h1>You just wrote:<\/h1>';
Does that work the same? That is how I might put something into a
non-associative array in PHP and I'm used to that syntax. Putting
something in brackets like you've done makes me think its the key of
an associative array, though clearly that isn't your intent.
You don't define the method join() so I'll assume it is a built-in
method that all arrays possess.
Finally, this:
temp[temp.length]
You use temp.length to make sure that the string you are building up
gets put into the same row, and that that row is incremented each time
through the loop. You don't use the variable i because there is no
guarantee that the value of i equals the length of temp??????
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:<opshnlzwkpx13kvk@atlantis>... function openInNewWindowString(windowText) { window.open('javascript:"' + windowText.replace(/\"/g, '\\"') + '"', 'userSubmission', 'width=200,height=400,status,scrollbars,resizable, toolbar');
No luck yet. This was in a print "" block in PHP, and I kept getting
parse errors because of all the quote marks. It was trouble trying to
escape them correctly. To make things easy on myself, I redid it like
this, which was easier to escape:
function openInNewWindowString(windowText) {
var windowString = '';
windowString += 'javascript :';
windowString += windowText.replace(/\"/g, '\\\"');
window.open(windowString, 'userSubmission',
'width=200,height=400,status,scrollbars,resizable, toolbar');
docWindow.focus();
return false;
}
But this opens a window without content. The page seems to be
endlessly loading, but never loads. I no longer get a 404 message, but
now I get nothing at all.
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:<opshnlzwkpx13kvk@atlantis>... On 18 Nov 2004 00:19:29 -0800, lawrence <lk******@geocities.com> wrote:
[snip]
Is this because of the javascript,
Yes, specifically
window.open(windowText,
The first argument to window.open is *always* a URL. What the browser is attempting is to open a network resource using the string you generate.
Obviously, this isn't your intent. What you need to do is use the javascript: scheme. This will instruct the browser to evaluate the following text as if it were Javascript. You then should pass a string literal which the browser will display.
function openInNewWindowString(windowText) { window.open('javascript:"' + windowText.replace(/\"/g, '\\"') + '"', 'userSubmission', 'width=200,height=400,status,scrollbars,resizable, toolbar');
Notice that I alter the string. If double quotes were present in the string, it would produce a syntax error. Replacing " with \" removes that problem. Also notice the slightly shorter, but equivalent, feature string.
I keep doing variations trying to find something that will work. In
the meantime, FireFox is giving me these error messages:
Error: document.getElementById("optionalDiv") has no properties
Source File: http://www.krubner.com/mcControlPane...eblogPagesForm
Line: 2808
Error: docWindow is not defined
Source File: http://www.krubner.com/mcControlPane...eblogPagesForm
Line: 4151
Security Error: Content at http://www.krubner.com/mcControlPane...eblogPagesForm
may not load data from about :blank.
I'll try to answer all your posts at once.
On 18 Nov 2004 09:26:35 -0800, lawrence <lk******@geocities.com> wrote:
[snip] At a minimum, I've been thinking, the browser can take all the form data and replicate it somewhere, perhaps in another window, so that all your data won't get lost if you hit the submit and it turns out you no longer have an internet connection.
Some browsers allow you to go back in your history to submitted forms, and
keep the submitted data. You probably can't re-submit as the session id
will have changed, but you could copy your entries. Out of habit now, I
copy the data before submitting so I can re-submit immediately.
[snip]
I'll implement this. Does the form data on the parent page still get submitted to the server in the normal way?
It should, provided you don't cancel the submission with "return false;".
On 18 Nov 2004 11:50:35 -0800, lawrence <lk******@geocities.com> wrote:
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:<opshnlzwkpx13kvk@atlantis>...
[snip] var elem = document.forms[0].elements, temp = ['<h1>You just wrote:<\/h1>'];
[snip]
So, in this line:
temp = ['<h1>You just wrote:<\/h1>'];
you are creating the variable temp as a global variable because you are not using the 'var' keyword?
Not quite. Look closer on the line prior. You'll see that it ends with a
comma, not a semicolon. The line you refer to is a *continuation* of the
var statement so temp is local.
And it is automatically an array because of the brackets that you use?
Exactly.
Could I also do this?
temp[] = '<h1>You just wrote:<\/h1>';
Does that work the same?
No. It's a syntax error.
[snip]
You don't define the method join() so I'll assume it is a built-in method that all arrays possess.
Indeed. It concatenates all elements of the array, separating them with
the given argument (type-converted to a string). As I used an empty
string, it's a direct concatenation.
Finally, this:
temp[temp.length]
You use temp.length to make sure that the string you are building up gets put into the same row,
No. Quite the opposite.
As you know, arrays are zero-order, so a length of 2 implies that elements
0 and 1 exist.
Now think. If I assign to element array.length I'll be assigning to
element 2. That is, I'll be appending a new element. That's what happens
with the temp array; a large number of append operations. The reason for
this is that it should be quicker than string concatenation. All the
implementation need do is insert references into a linked list, rather
than allocate memory for the two strings, copy the characters, delete the
original strings, and assign the new string to an identifier.
[snip]
On 18 Nov 2004 13:38:42 -0800, lawrence <lk******@geocities.com> wrote:
[snip]
No luck yet. This was in a print "" block in PHP, and I kept getting parse errors because of all the quote marks. It was trouble trying to escape them correctly. To make things easy on myself, I redid it like this, which was easier to escape:
function openInNewWindowString(windowText) {
var windowString = ''; windowString += 'javascript:'; windowString += windowText.replace(/\"/g, '\\\"');
However, you missed the outer quotes. The variable, windowString, must end
up as either
javascript:"..." or javascript:'...'
Your code generates
javascript:...
By the way, please don't use tabs for indentation. Use spaces instead.
On 18 Nov 2004 13:55:14 -0800, lawrence <lk******@geocities.com> wrote:
[snip]
I keep doing variations trying to find something that will work. In the meantime, FireFox is giving me these error messages:
Hopefully the previous suggestions will help with some of your problems.
Error: document.getElementById("optionalDiv") has no properties
You haven't shown any code related to that, so I couldn't say for certain.
However, the sensible guess is that there's no element with the id,
optionalDiv.
Error: docWindow is not defined
In your original post, you'll see (abridged):
window.open(...);
docWindow.focus();
Notice that you didn't save the window reference. You probably wanted
var docWindow = window.open(...);
docWindow.focus();
Security Error: Content at [url] may not load data from about:blank.
Couldn't tell you. I've never seen that error before.
Hope that helps,
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jason |
last post by:
hello,
i am new to PHP, so go easy.
I am using the examples in the book:
PHP: Your Visual Blueprint For Creating Open Source, Server Side Content
In the section where they talk about...
|
by: Don W. |
last post by:
Is it possible to open a browser window from a javascript for the purpose of
gathering user input on a form and then use data from the form in the
javascript? How do you get the data from the form...
|
by: Chuck |
last post by:
Hi!
Any ideas as to how I can get ride of the script error undefined
variable "Exp_Month"?
I am trying to get this drop down list to default to the current month
as opposed to 01.
Thank...
|
by: Ed Jay |
last post by:
When I run the below js, I get the error:
"document.form1.elements.checked) is null or not an object"
<script type="text/javascript">
function get_menu_value(menu_name) {
var mValue = 0;
...
|
by: chippy |
last post by:
I am finding that when I use the cloneNode method to copy an HTML
element that contains a <script> tag, the contents of the <script> tag,
(ie. the javascript) are removed.
If I do this:
var...
|
by: kamleshsharmadts |
last post by:
I am using Ajax with struts in web application.
from jsp i am calling a function of ajax.js onclick of a button.
code of that call function which calling from jsp given as below:-
...
|
by: eggie5 |
last post by:
Is it possible to get a file without using a form post?
I want to get the data (bytes) of a file, text or binary, and just
save it to a variable. Similar to the post body of a form that has a...
|
by: laredotornado |
last post by:
Hi,
I have a number of INPUTs on my page that look like
<input id="form_items" name="form_items
" size="15" type="text" value="..." />
How do I refer the last one of these on my page?
...
|
by: yawnmoth |
last post by:
I'm trying to get a list of all the input elements of a form tag and
am having some difficulty doing so. First, here's my XHTML:
<div>
<form action="">
<input type="text" name="a" />
</div>...
|
by: Rina0 |
last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |