Search the Community
Showing results for tags 'javascript'.
Found 7 results
-
Hi everyone, I have a tricky one here. I have a widget I placed on a site, which, as usual, comprises a few lines of HTML and a line of Javascript. It is a widget through which people can send requests to a radio station, and then it shows whether your request went through, or failed (in case the requested song does not exist in the repertoire list of the radio), in which case it emails the request to the radio station. This is the HTML: <form class="cc_request_form" data-username="ckhnsbvf"> <div data-type="result"></div> Song artist: <input type="text" name="request[artist]" size="40" maxlength="127" /><br /> Song title: <input type="text" name="request[title]" size="40" maxlength="127" /><br /> Bestemd voor: <input type="text" name="request[dedication]" size="40" maxlength="127" /><br /> Your name: <input type="text" name="request[sender]" size="40" maxlength="127" /><br /> Uw e-mail adres: <input type="text" name="request[email]" size="40" maxlength="127" /><br /> <input type="button" value="Verstuur aanvraag" data-type="submit" /><br /> </form> And this is the Javascript: <script language="javascript" type="text/javascript" src="http://solid33.streamupsolutions.com:2199/system/request.js"></script> As usual, the Javascript is supposed to be inserted just before the </body> tag. So far, so good, now for the issues: to begin with, I had to change the "http:" in the Javascript to "https:", or nothing would work. Then, the widget started working intermittently, and now, it does not seem to do anything, except when you send a failed request, it shows your request went through sucessfully. There is one more suspicion I have: the site in question uses Bootstrap (CDN version), would it be possible the Javascript conflicts with JQuery or something? Before the </body> tag there is this reference to JQuery *which comes immediately after the Javascript for the widget): <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> I have also tried to put the widget Javascript after the above, no difference. Does any of this make any sense or has anyone come across this before? The widget can be seen working on https://www.vlaamseradio.tk/verzoek.html it is the form near the bottom. Any help will be very much appreciated.
-
Java lovers’ gona love it, Check it out.... JavaOne 2013 is apparently being held at Hyderabad this year as well (8-9 May) at the same place guys…. They have also started accepting registrations (check this: http://forums.xisto.com/no_longer_exists/ ) I am definitely going to attend the Java One again. Last time I had a chance to help people at NetBeans Booth, thanks to Java One Team for that great favor. I know, Java and NetBeans community will definitely attend this prestigious nd great conference this year too…..
-
Hi All,I have seen my Geographic location when ever i visit Google's website. How can i set the user's geographic location in my website with the javascript. Any third party provides the javascript template to get the user's geographic location. By getting the user's geographic location, we can change the language of the webpage according to the geographic location. This will be hepful, when we develop multilingual website. Expect a good solution.Regards,Tinoy
-
Hi all,I would like to implement image tranition in my local website, which will be good when consider the loading speed, implementing the javascript function or to create an flash swf in the website?.Swf requires the adobe flash player in the client system. Please reply.Regards,TInoy
- 4 replies
-
- javascript
- swf
-
(and 2 more)
Tagged with:
-
In the seven years since I have been back in the web design gig, one name has become synonymous to web design and web programming books and that is Larry Ullman. He is mostly known for his Visual Quick Pro books such as PHP and MySQL for Dynamic Web Sites: Visual Quick Pro Guide (4th Edition), MySQL, C++, PHP and so on. Therefore, it does not surprise me when I won his newest book Modern JavaScript: Develop and Design at the Adobe User Group. That it would be loaded with a lot of information that you need to know in order to program in JavaScript. At 15 chapters and a whopping 595 pages, expect to take your time with this book because you will be learning JavaScript from scratch and I mean that literally. As you start from the basics of JavaScript to creating little JavaScript programs. While this book is technical in nature, the one thing I notice right away about this book, is that it doesn't feel like that. He breaks everything down and provides great visuals and color in this book. Usually, I never talk about that in my book reviews. You could say it provides the minimalist design and hits that big pop once you start looking at the book and reading along. While a lot of the information is known, he really sticks to word modern as he talks about the Big 5 web browsers, JavaScript Frameworks, tools that he uses and or recommends and so on. As I said earlier, with his many years writing Visual Quick Pro books, it definitely prepped him in preparing this book as it provides that same kind of flow. At $54.99 (Amazon $34.64), that price is well worth picking up this book, granted I am not calling it the JavaScript Bible, but once you get into it, you think it was. Thus, the reason I cannot really pick a chapter out of this book because this caters to everyone who ready to get out of HTML and into a web programming like JavaScript. So to Larry Ullman, I better see a PHP/MySQL book of the same caliber or tackle a challenging language like JSON or Ruby to make it interesting.
-
- variables
- programming
-
(and 5 more)
Tagged with:
-
With HTML5 well into power, its biggest competitor, though gaining a lot of ground to it, is still Flash, HTMl5 applications are slowly becoming the norm in the online and mobile worlds.. At a measly 121 pages, Programming HTML5 Applications gives you a beginning to were you should concentrate your programming skills in order to build both Desktop and mobile apps. This book is heavy in JavaScript coding and that is understandable as you will need a powerful language like JavaScript in order to produce many of the functions in your applications and so the question is this, what does the book cover. Interestingly enough, we already know much of what is covered through various websites and books. Such as file uploading, drag and drop, offline storage, creating databases, web sockets and more. However, the one thing that intrigues me the most that you can create a simple but stable database with HTML5 and JavaScript and so that is the chapter I will talk about in this review. Called IndexedDB, it is a non-SQL based database platform. Microsoft IE, Mozilla Firefox, and Google Chrome support this database. One feature that seems to stand out for me is that it has its own built-in security measure in which no other pages or web hosts can access that database unless they are actually on that page to which the database is connected too. Another nifty security measure is the fact that IndexedDB cannot be attacked with SQL injections and thus provides a way to hack into the database and destroy or steal data. Of course, the bad part is that it is still susceptible to XSS attacks which use JavaScript as a form of that attack. The other part that I like about this, and I am only assuming based on the example giving in the book, but if you been coding in JSON the structure in the below example almost looks the same IndexedDB Example { "title":"Real World Haskell", "price": 49.95, "price_can":49.95, "authors" [ "Bryan O'Sullivan", "John Goerzen", "Don Stewart" ], "cover_animal": "Rhinocerus Beetle", "cover_url": "http://...", "topics": ["Haskell"]}JSON Example { "Book": [ {"title": "Real World Haskell"}, {"price": "49.95"}, {"price_can": "49.95"}, {"authors": "Bryan O'Sullivan"}, {"authors": "John Goerzen"}, {"authors": "Don Stewart"}, {"cover_animal": "Rhinocerus Beetle"}, {"cover_url": "http://..."}, {"topics": "Haskell"} ]} I will point out, that the JSON example could be more optimized, but you will notice that both use a lot of the same structure and so if you got JSON licked, then you will have no problems working in IndexedDB. However, creating the database in the first part and for the next few pages the author goes through the process of connecting, creating, adding, updating, recieving and of course deleting the data. Which comes to my next point in which if you got strong database skills, all you have to do is learn the languages specific to IndexedDB and you will be good to go on creating sophisticated databases that you can use for your HTML5 based application. Like I mentioned earlier, a lot of the information is old and or updating to something current, but I regress that if you’re starting out in HTML5 and want to get into the advance side of things. Then this book will be a nice little starter to get you going.
-
in my opinion javascript is better then java becasue java requires more programing experecense then javascript and i think to that javascript is more reliable then java in some ways