back soft

مطالب مرتبط با «javascript using html» در back soft | نویسنده: استخدام کار

javascript to wrap specific text using regex capture but excluding html tag attributes

Vote count: 0 I've got Regex targeting alpha-numeric strings that are product numbers (all will be CAP/number combinations of various lengths) wrapping these product numbers in bold tags for hundreds of generated HTML emails. This worked great to bold product numbers, but also captures random parts of URLs and hex colors in my HTML email's tags attributes. I've tried to exclude hex colors, and only include text after ">" and before "...

ادامه مطلب

C++ server to serve local web files (html/css/javascript) using http

Vote count: 0 I'm writing a C++ desktop application with An embedded webview to show the UI written in html/css/js. A C++ backend to handle all logic and core operations. In order to show the web UI in the embedded webview without problems, I need to server those files from a local directory that will be part of the application. So I need to embed an http server as part of the application as well. So I'm looking to do something like this: web_view.ShowUrl("localhost:8080"); And this should automatically open index.html in /path/to/my/ui/directory/ that the embedded http server is set up to serve. Then it should be able to handle any includes of other scripts, html/css files, resource files l...

ادامه مطلب

Upload an image using html/javascript/Mongodb/WebServices

Vote count: 0 I want to upload an image from the user's disk to my MongoDB. When I have the all path, it works. But with , it doesn't works (not the complete path, and it's normal, for the security ...) So I want to know if there is an other way to do that ... (Even a solution where I store directly on the server will be ok (Using javascript, html, ajax, ... ) Thank you. asked 1 min agoMasiwan Let's block ads! بخوانید...

ادامه مطلب

Convert html page to pdf file using javascript

Vote count: 0 Can I create a pdf file using javascript? If yes, how can I do it? I need help and guide. I really appreciate for any help. asked 1 min agoD. Clara T This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب