From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 3345D7914F for ; Tue, 6 Oct 2015 17:06:44 -0700 (PDT) Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-11v.sys.comcast.net with comcast id S09y1r0092Bo0NV010ALT6; Wed, 07 Oct 2015 00:10:20 +0000 Received: from eklhad ([IPv6:2601:405:4002:b0a:21e:4fff:fec2:a0f1]) by resomta-ch2-05v.sys.comcast.net with comcast id S0AL1r0030GArqr010ALuw; Wed, 07 Oct 2015 00:10:20 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20150906134334.eklhad@comcast.net> User-Agent: edbrowse/3.5.4.2+ Date: Tue, 06 Oct 2015 20:10:20 -0400 Message-ID: <20150906201020.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1444176620; bh=Tp5Z/6VBZEc2ATmwG0OiIW5k5VMPu6zHpifohbigYp4=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=Sqfm2CbM/n6skTIS0E4u+v/yiHq+OylW20Cp/t0iRpdUvHf1H40fiN34foTrTfEDr UNgD4Jc3xb9sAfh9Cvvwmq23SVoz5Fu24i8NCw5d5PB0UzwBTSSE1rznrc47+mdvex Sd1McE9AughrO/aFQ+R+sP1j6pm4U3+SDOuTvWj9hTUVjiKYv4ISZQ1t4TVzXc7x7p /YcUCyGI33TNeKBbHG5/QZL9ckQp2Z9BHI4HnCy+z2kcv5B6lLs7ujnIeT3RgAxm2D ddaPXpAqIYvyxUCB3NOJocfBOcZEx98HkskCZPTz5kP0uhL4LH5xMPpDnTQMPXIm8i dfuwsvo/UamAg== Subject: [Edbrowse-dev] setAttribute X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 00:06:44 -0000 > It seems like people are saying that dot notation is > actually preferred and is a superset of setAttribute. Yes so it seems, so I have to query variables as needed anyways, so no need for setAttribute to do anything more than function setAttribute(s,t) { this[s] = t; } I may implement it this way and get rid of the corresponding 20 line native code. As mentioned last time, I check for form.action before submit, but I don't check to see if js changed the href= attribute out from under you before you click on hyperlink. There's probably quite a few of these "actions" that I don't check for and should. Karl Dahlke