Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~31.7K People Reached
Favorite Tags
Member Avatar for f_atencia

Hi all. Suppose I have the following JSON Object: "WorkPhone": { "Phone": { "FixedPhone": "98221234", "Fax": { "CountryCode": "61", "AreaCode": "", "text": "" }, "Mobile": "" } } How can I manipulate the 'FixedPhone' object to look more like the 'Fax' object in Javascript / JQuery? That is: - Remove …

Member Avatar for piers
0
122
Member Avatar for f_atencia

Not entirely sure what's happening. I've managed to narrow down the template where this error is occurring <xsl:template match="Application/Comment"> <xsl:copy> <xsl:choose> <xsl:when test="string($ImportXML/Application/Comment)"> <xsl:apply-templates select="$ImportXML/Application/Comment/text()"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="."/> </xsl:otherwise> </xsl:choose> </xsl:copy> </xsl:template> $ImportXML/Application/Comment = "test". Essentially, I'm trying to update my document so that the XPath Application/Comment is now …

Member Avatar for Mike Askew
0
303
Member Avatar for f_atencia

I need a function that allows a string to be passed in that strips out everything before a decimal place. For example, 40.00% should be 40. However, it needs to be flexible enough to check if there are no decimals and still maintain the same result. For example, 70% becomes …

Member Avatar for IIM
0
197
Member Avatar for f_atencia

Say I have the following XML: <People> <Group id="1"> <Person FirstName="Bob" Surname="The Builder"/> <Person FirstName="Jane" Surname="Doe"/> </Group> <Group id="2"> <Person FirstName="Billie" Surname="Jean"/> </Group> </People> How can I update Group 1 dynamically by replacing it from an imported xml file (for this sake, we'll store it in a variable called $ImportXML)? …

0
91
Member Avatar for f_atencia

Say I have a code like: `<div id="mydiv">This text is supposed to stay at the bottom of the window regardless of scrolling</div>` How can I program that (or use css) to keep at the bottom of my browser window, even when scrolling? Help is very much appreciated

Member Avatar for JorgeM
0
116
Member Avatar for f_atencia

I have an ASP page written in JavaScript that writes a CSV file into a database table. while (!oFile.AtEndOfStream) { var s = oFile.ReadLine(); var sArr = s.split(","); var sPostcode = String(sArr[0]).replace(re, ""); var sSuburb = String(sArr[1]).replace(re, ""); ...stored procedure to write into database... } It works fine for smaller …

Member Avatar for f_atencia
0
150
Member Avatar for f_atencia

Anyone know what this means and a step-by-step guide on how to fix it? Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms"> I'm fairly new to ASP.net. Help will be greatly appreciated. Thanks in advance

Member Avatar for JorgeM
0
122
Member Avatar for f_atencia

Hi all, SQL definitely is not my area of expertise, so I need help with something. Suppose I have 3 tables (I'll try and keep this is as simple as possible): - User (with UserID). There are 13,000 records - Status (StatusID as the PK). There are 10 records - …

Member Avatar for BitBlt
0
129
Member Avatar for lorettah

<HTML> <HEAD> </HEAD> <BODY> <APPLET Code = WelcomePage.class width=300 height=300> </APPLET> </BODY> </HTML>

Member Avatar for Taywin
0
93
Member Avatar for f_atencia

Hi all, I'm having issues with two tables that are lined up side by side (a little complicated reason as to why I created two tables instead of having two columns in one table). They contain only one row each with a single td element. The first table contains only …

Member Avatar for f_atencia
0
137
Member Avatar for f_atencia

Say I have the following XML variable: [CODE] var oResult = Server.CreateObject("MSXML2.DOMDocument.4.0"); oResult.async = false; oResult.setProperty("ServerHTTPRequest", true); [/CODE] How do I get the encoding to display in the header section? For example: [CODE] <?xml version="1.0" encoding="UTF-8"?> [/CODE] when I run it in the browser? Any help will be greatly appreciated.

0
63
Member Avatar for f_atencia

Say I have the following code: [CODE] poNode = poEvent.target ? poEvent.target : poEvent.srcElement; [/CODE] Is there a way I can force Internet Explorer to use the poEvent.target object?

Member Avatar for Troy III
0
413
Member Avatar for f_atencia

I'm trying to get the properties for the following objects: 0: [object Object] 1: [object Object] 2: [object Object] 3: [object Object] This was generated by using the following code: [CODE] var s = ""; for (var property in this.oProducts.Product) { s = s + "\n "+property +": " + …

Member Avatar for Airshow
0
77
Member Avatar for f_atencia

Could someone please explain why this does not display properly on any other browser except IE: [CODE] <span id="NextOfKinUniqueIDBuddy" class="ReadOnly" style="width:400px;height:50px; border:2px inset threedhighlight;padding:1px"> <span id="1309819582156"> <div>Dr Dre Aftermath</div> <div>1 Test Street, SYDNEY, NSW 2000 AU</div> <div>Phone: +61 02 98222222 Fax: +61 02 91111111 Mobile: 0415875421</div> <div>Email: testing@test.com.au</div> </span> </span> …

Member Avatar for ko ko
0
94
Member Avatar for f_atencia

Hi all, I have an input box that should only contain decimal point numbers (including negative values), but I'm not sure how to remove invalid characters and replace it with something that is valid (i.e. the value e3.45 should be replaced with 3.45). If all the characters in the textbox …

Member Avatar for urtrivedi
0
175
Member Avatar for sireesha g

Hi All, I have one scenario, In xslt i have used a input tag of type="button" with id="button1", Now in xslt if a condtion is met, suppose <xsl:if test="price &gt; 10"> i need to disable the button1 Can any one please suggest me how to achieve this using xslt. Thanks …

Member Avatar for f_atencia
0
504
Member Avatar for f_atencia

Hi all, I'm fairly new to XML and XPath. I was wondering if someone could help me in understanding the following line of code and what element(s) it is pointing to: [CODE]<xsl:variable name="EmpPos" select="[COLOR="Green"]count(preceding-sibling::Employment)+1[/COLOR]"/>[/CODE] Any help is greatly appreciated.

Member Avatar for xml_looser
0
145
Member Avatar for ShinyEdge

I want to validate my form so i call validateForm() using onsubmit of the form. It displays the alert but doesn't cancel the submit. What could be the problem? [CODE] function validateForm() { var x=document.forms["contactform"]["name"].value; if (x==null || x=="" || x=="Name") { alert("First name must be filled out"); return false; …

Member Avatar for ShinyEdge
0
23K
Member Avatar for f_atencia

Suppose I have two tables: [CODE] Table1: Pets PetID----------|Name----------|Type----------| 1 |Shaz |Dog | 2 |Molly |Cat | 3 |K9 |Dog | 4 |Billy |Goat | ______________________________________________ Table 2:PetAttributes PetID----------|AttributeName-|AttributeValue| 1 |HairColor |Black | 1 |Breed |GermanShepherd| 1 |Age |12 | ______________________________________________ [/CODE] As you can see from the sample, the …

Member Avatar for debasisdas
0
93
Member Avatar for umamahesh2020

Please any one can help to Expand and Collapse of menu with round corner with "expand image" and "collapse Image". i have attaching a link for reference [URL="http://www.sothink.com/product/treemenu/samples/statecode/statecode.php"]http://www.sothink.com/product/treemenu/samples/statecode/statecode.php[/URL] In this in place of '+' icon replace as "expand image" as well as '-' icon like tree menu [IMG]http://javascripttreemenu.com/img/seo-vertical-tree-navigation-17.jpg[/IMG]

Member Avatar for Taywin
0
117
Member Avatar for RekhaRajan

can you please post me codings for creating webpage using javascripts...i need to do an assignment of it on monday...am helpless:-/

Member Avatar for f_atencia
-2
63
Member Avatar for f_atencia

Hi all, I'm a newbie when it comes to SQL and I have 2 tables that I need to update. Let's say, for argument's sake that the first table (Products) has an identity column (automatically incremented) with the name of ApplicationValueID. It stores a bunch of data about a product …

Member Avatar for buddylee17
0
104
Member Avatar for Violet_82

Hi there, I have added a validation script to this page [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] but it is not working the way I want it to, I am sure I made some silly mistake. Basically I want to make sure that people actually input something in the form below before submitting it. If …

Member Avatar for tcollins412
0
205
Member Avatar for f_atencia

Say I have 2 input fields, both containing dates with the format (dd mmm yyyy), for example, 07 Mar 2010 (Yes, there is a space between date, month and year). Well basically I need the second input box to calculate 60 days (not 2 months) after the first text box. …

Member Avatar for Taywin
0
75
Member Avatar for f_atencia

Say I have some code: [CODE]<input type="text" name="{$valcompname}/@LikelyWeeklyUnfRental" value="{$valcompdata/@LikelyWeeklyUnfRental}" id="RentalValue" style="text-align:right">[/CODE] I want the text box to output a value in a format $#,##0.##. At the moment I can only get it to display only decimal place. I have tried using the format-number function with that regular expression, but no …

Member Avatar for JohnBampton
0
102
Member Avatar for Arcrammer

I have no idea what AJAX is -- other than the fact that it has something to do with JavaScript :yawn: I'm not that talented with JavaScript other than variables, functions, alerts, confirmation boxes, and simple stuff like that. Any links that would help me learn AJAX would be greatly …

Member Avatar for McLaren
0
159
Member Avatar for f_atencia

Hi all, I have a task that needs to be written in Javascript. I need to change a date e.g. '07/05/2010' to a format of '07 May 2010'. How can I do this? Help is greatly appreciated. Thanks again

Member Avatar for Javvy
0
68
Member Avatar for chriselectrix

Hi All I have this XSL code, but I am trying to get it so every other row is light grey and the ones in between are white. I want the headers to be anjother colour all together. [CODE] <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <body> <table border="2" bgcolor="yellow"> …

Member Avatar for f_atencia
0
1K
Member Avatar for james6754

Hi everyone...not usually in this part of DaniWeb... My friend is having massive problems with his internet explorer.. it keeps giving errors about .js (javascript?) Along with this you try to go on a site and it attemps to download a .cr file. Sometimes it loads just plain text, sometimes …

Member Avatar for vsmash
0
87
Member Avatar for f_atencia

I'm having an issue regarding how Safari displays my page. A snippet of the HTML includes: [CODE] <div class="MenuBar"> <ul>...List of Menu Items</ul> <div class="QuickSearch"><input type="textbox" /><a>Go</a></div> </div> [/CODE] the CSS code: [CODE] * html DIV.MenuBar DIV.QuickSearch { margin-top:-0.3em;color:black;} DIV.MenuBar {font-weight:bold; font-size:1.1em; font-family:verdana, Arial, sans-serif;background:#FFF url("../images/Gradient.jpg") repeat-x bottom left;border:1px solid …

Member Avatar for elneco
0
106