back soft

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

How to print scraped data in head tag using Ajax/Javascript

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Javascript tests using poltergeist and capybara accessing internal api

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Jquery AJAX request will not show JSON retrieved using "dataType": "json", but will retrieve JavaScript object

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

how to make avoid user entering numbers for first two chars(but rest all chars must be numbers only) using javascript

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How to set one selected logo on existing image using Canvas and Javascript

Vote count:
 0I need some help. I am setting some text on image using canvas but this time my requirement is I have to set one logo on that image using Canvas/ Javascript. I am explaining my code below.Here I can set the text on the image...

ادامه مطلب

Need help to turn all white background to black using javascript on all websites

Vote count:
 0I need help to make a userscript to target all white background and tu them black and all black text to silver using javascript for all websites, all other elements should stay original. The color range for background is from silver to black and dark gray to black for tex...

ادامه مطلب

fetch data from the web services to stored procedure in SQL SERVER 2014

Vote count: 0 I have been assigned a task to fetch the tableset and dataset from the web services using the stored procedure in SQL SERVER 2014. Can someone help me with this case. I just wanted to know the syntax if the stored procedure. I am not able to understand how would I fetch data from the web services as it is not a database and they are going to call the procedure name only in their web service. Thanks in Advance asked 48 secs agopaemmi Let's block ads! بخوانید...

ادامه مطلب

Adding custom HTTP header to SignalR Hub

Vote count: 0 Is it possible to add a custom HTTP header to SignalR Hub from JS client when the coection starts? My SignalR hub is shared both by my mobile and web client. I can pass a header from the mobile client but I'm not sure if this is possible to do this from the web client. This is what I'm trying to do var name = Context.Request.Headers["useame"]; how do I differentiate between the web and mobile client? asked 1 min agoAhmed Mujtaba Let's block ads! بخوانید...

ادامه مطلب

Javascript - Using promise for post PHP, get undefined result

Vote count: 0 I'm a newbie in JS and have a little to no knowledge about asynchronous program and promise. I have a problem in getting result from post PHP as written in this code: showModalLink = function(d, i) { $('#myModalLabel').text(d.source.name + ' - ' + d.target.name); $('#modalJum').text(d.jumlahlelangsama); var lelang = d.daftarlelangsama.split(", "); var lelangmodal = []; var promises = []; for (var i = 0; i < lelang.length; i++) { querystring = "select pemenang from lelang where id = " + lelang[i]; console.log(querystring); var queryobj = { query: querystring }; promises.push($.post('indikasi3modal.php', queryobj)); } Promise.all(promises).then(function(results) { if (results[i] ...

ادامه مطلب

How to create a new document from the current document using Javascript and Lotusscript

Vote count: 0 I am trying to create a new document wherein some of the field values would come from the current document. Note that current document is not in edit mode. There are three buttons in the current document: Edit Document //Validate inputs myForm = window.document.forms[0] myForm.Refresh.click() myForm.Edit.click() Add Guest //Validate inputs myForm = window.document.forms[0] myForm.AddGuest.click() Close myForm = window.document.forms[0] myForm.Close.click() Once the Add Guest button is clicked, it must be able to access the lotusscript agent which can be found in another hidden button, "AddGuest". @Command([ToolsRunMacro]; "AddGuests") Once the Add Guest button's clicked, there ...

ادامه مطلب

split up string with delimiter only using basic language(if,for,while etc)

Vote count: 0 i have the function: //this function takes two params, a string and then the delimiter where the string is to be split up function substringSplit(str, del){ var str; var del; for(var i=0;i...

ادامه مطلب

Slide div from minus top value

Vote count: 0 I'm a begier to jquery. I want to make a simple fadeindown when I click a button, but from the above the screen,e.g. minus top value. But what I get is only sliding in the page, not from above. And it only works once when I load the html. After that, opacity is the only one working. Here's the sample code: #Page{ opacity: 0; width:70%; min-height: 300px; background:white; text-align: center; border-radius: 20px; position:relative; padding:20px; margin:0 auto; } in document.ready() , when I load the html $("#Page").position().top=$("#Page").outerHeight()*-1; $("#Page").animate({top:$(".row").outerHeight(),opacity:'1'},1500); and the .click function $("#Page").css('opacity','0');...

ادامه مطلب

swap the values of 4 variables with jquery or javascript

Vote count: 0 Originally I was using the following to swap the values of 2 variables at random when the page loaded: var value1 = 260; var value2 = 325; var chosenValue = Math.random() < 0.5 ? value1 : value2; if (value1 == chosenValue) { var val = value1; } else { var val = value2; } if (value1 == chosenValue) { var val2 = value2; } else { var val2 = value1; } However now I need to swap out 4 values and I no idea how to go about doing that. var value1 = 260; var value2 = 325; var value3 = 195; var value4 = 130; Note that each value must be used only once and must be displayed in random order each time page is loaded. help? asked 1 min agoBruce Let's block ads! بخوانید...

ادامه مطلب

Replace XML element with text wrapped in CDATA using JavaScript

Vote count: 0 I am trying to replace some text in an XML element with new text which I need to wrap in CDATA. asset = request.responseXML; asset.getElementByTagName("url").textContent = newUrl; newUrl needs to be wrapped in CDATA since it can contains special characters. How is this possible? I have tried the following but it doesn't work asset.getElementByTagName("url").textContent = ""; asked 38 secs agokittels Let's block ads! بخوانید...

ادامه مطلب

Javascript function to php using parameters

Vote count: 0 Good evening, I have this piece of PHP code : Is there a means in my javascript code to call the function and to pass the two parameters? Many thanks for your help. asked 19 secs agoLaurent Let's block ads! بخوانید...

ادامه مطلب

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...

ادامه مطلب

Javascript code (using google tag manager) not executed

Vote count: 0 I have a page in which I am pushing some javascript using google tag manager. The javascript code has a function which executes on DOM ready and modifies certain elements on the page if it is being accessed from a mobile device. The code works fine when the page directly open in the browser but if we move out from the page by clicking a link and come back again by using the browser back button the page does not get modified that is either the code from the tag manager is not getting push into the page or somehow the code is not executed. asked 41 secs agodevkaustav Let's block ads! بخوانید...

ادامه مطلب

How to make line chart using asp.net mvc4 with dynamic data without javascript?

Vote count: 0 I would like to make line chart in my project. i was already make pie chart using datavisulazation dll but now want to make line chart with dynamic data so how can i make it? asked 1 min agoUrvish Patel Let's block ads! بخوانید...

ادامه مطلب

How to create image file in android from dataURL which is generated using JavaScript

Vote count: 0 How to create image file in android from dataURL which is generated using JavaScript data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT.......== asked 3 mins agosaikumar Let's block ads! بخوانید...

ادامه مطلب

برچسب‌های مرتبط

fetch data from website | fetch data from mongodb | fetch data from url javascript | fetch data from mysql in php | fetch data from cursor in oracle | fetch data from website to excel | fetch data from website using php | fetch data from website using python | fetch data from api | fetch data from google spreadsheet