Log In
::
Register
::
Search
Forums
Groups
Popular
•
New Topics
•
New Posts
Read Question
Reply to All
0
Is there a way to do these two operations with only a single line of code?
Forums:
Javascript
Email this Topic
•
Print this Page
sabrick
Reply
Tue 24 Mar, 2015 01:00 pm
var KML = new Cesium.KmlDataSource()
KML.load($.parseXML(res.value[0]))
Stumble It!
•
Tweet This
•
Bookmark on Delicious
•
Share on Facebook
•
Share on MySpace
Topic Stats
Top Replies
Link to this Topic
Type: Question • Score: 0 • Views: 706 • Replies: 2
No top replies
Link
HTML
ApollosEnvy
1
Reply
Wed 25 Mar, 2015 03:14 am
@sabrick,
The single line of code would have to run a separate file which would contain both of the commands for your variable.
0 Replies
maxdancona
1
Reply
Wed 25 Mar, 2015 04:52 am
@sabrick,
Have you tried just combining them?
new Cesium.KmlDataSource().load($.parseXML(res.value[0]))
(although technically this isn't really the same since the variable KML is never set in the second form)
0 Replies
Related Topics
Javascript language detection :: language based redirection
-
Discussion by Craven de Kere
Use of undefined functions in javascript
-
Question by wmstem
How does javascript handle numbers transmitted via POST?
-
Question by DrewDad
using onchange to a function ot change a form text box value
-
Question by kernowcoder
How does one uninstall a program?
-
Question by Woollcott
Adding a JavaScript 'Copy to Clipboard'
-
Discussion by BobbyDouglas
JavaScript: OnSelect question
-
Discussion by neocode
NoSpam email javascript link and other no spam tips
-
Discussion by Craven de Kere
Javascript - Control C textarea script
-
Discussion by Craven de Kere
Combinatorics
-
Question by millamber
Baseportal DBMS commands creating popup window using Perl and Javascript.
-
Question by barygold
Forums
»
Is there a way to do these two operations with only a single line of code?
Read Question
Reply to All
Copyright © 2025
MadLab, LLC
::
Terms of Service
::
Privacy Policy
:: Page generated in 0.03 seconds on 02/05/2025 at 05:51:42
▲
▼