How to connect server side programming (c#) on html button click
◷
تاریخ انتشار: 1395/1/25 | ساعت: 6:21
Vote count: 0 I am rookie in this. What I am trying to do is creating a simple login and register page using Html.Then I created a database in Mysql and I am using c# as my server side programming to interact with the database.(I don't wa a use PHP) Now I need your help on how to co ect my Html page...
Get image base64 with reader.readAsArrayBuffer(file)
◷
تاریخ انتشار: 1395/1/25 | ساعت: 6:21
Vote count: 0 I'm trying to get the content of an image in a base64 string. Originally I was doing it with readAsDataURL but because I want to validate the mimetype on the client side, it seems I have to use readAsArrayBuffer as also pointed out on this site. So prevoiusly I had this working fine: v...
Prevent from resending form on reload with Express
◷
تاریخ انتشار: 1395/1/25 | ساعت: 6:21
Vote count: 0 I'm using Node.js with Express framework. I have an endpoint /register which renders form on GET. On POST it validates the input and then renders the same view, with any possible errors. On success it redirects. My problem is that when I reload the page the browser remembers my previou...
Magento Facebook Pixel Tracking Code
◷
تاریخ انتشار: 1395/1/25 | ساعت: 5:17
Vote count: 0 I am trying to add Facebook Pixel tracking to a Magento site. Specifically I want to track the click of add to cart, the click on add to wishlist and also the success page. I am using the below code in my head.phtml file. However my Chrome browser Facebook Pixel Helper extension says "...
Optional parameters to Laravel Mail
◷
تاریخ انتشار: 1395/1/25 | ساعت: 5:17
Vote count: 0 How would one create an optional message parts to Laravel's Mail function? E.g. either adding attachment or having bcc. Mail::send('emails.welcome', $data, function($message) { $message->from('us@example.com', 'Laravel'); $message->to('foo@example.com')->cc('bar@example.com'); $message...
PDFMerger.php - Orientation not working?
◷
تاریخ انتشار: 1395/1/25 | ساعت: 5:17
Vote count: 0 I'm trying to use PDFMerger.php (https://github.com/myokyawhtun/PDFMerger) to set up a script which will merge PDF's and output a download. So far, everything is working - However, the orientation doesn't seem to be working, my eBook is in Landscape mode, but PDFMerger keeps outputting...
Python - UnicodeEncodeError Fix?
◷
تاریخ انتشار: 1395/1/25 | ساعت: 4:16
Vote count: 0 I'm trying to open a file, read the file and print out. Well this should be easy and look like this: file = open("Testfile.txt", "r") string = file.read() print(string) file.close() So now, I want to open a file including Unicode Charcters, going above the 255 characters which can be e...
How to find the shortest path with the minimum number of hops in Neo4j?
◷
تاریخ انتشار: 1395/1/25 | ساعت: 4:16
Vote count: 0 Im modeling a graph where nodes are places and edges indicate that you can go from one place to another. This is to have all routes that you can take from a place to another, and you can go from a place to another by different routes, so I want a query that retu s me the shortest path ...
Swift deep NSObjects do not compile
◷
تاریخ انتشار: 1395/1/25 | ساعت: 3:11
Vote count: 0 In Swift, I am trying to implement a word Trie, using a literal representation as a series of nested NSObjects. Here is the Trie. let GEENITRIE:NSObject = [ "i":[ "need":[ "tutoring":[ "in":[ "**ARG**":"{courserequest}"]], "a":[ "tutoring":[ "session":[ "in":[ "**ARG**":"{courserequest...
How to use PHP to get the value of a star rating widget?
◷
تاریخ انتشار: 1395/1/25 | ساعت: 3:11
Vote count: 0 I have this star rating widget on my page, allowing the user to hover over the stars and select the rating and submit it. This is the html and css : <form method="post" id="star_review" name="star_review" action="> <div class="rate_review"> <div class="col-md-4"></div> <div class="col-...
SQL decimals inaccurate for floating point value
◷
تاریخ انتشار: 1395/1/25 | ساعت: 3:11
Vote count: 0 Currently I have the following code: Declare @FloatVal float set @FloatVal = 777777111111.555343 print @FloatVal print @FloatVal - FLOOR(@FloatVal) select @FloatVal select @FloatVal - FLOOR(@FloatVal) And it outputs 7.77777e+011 for the first print, 0.555298 for the second print, 77777...
Duplicate property mapping caused JPA Many To Many - One To Many Self Join on Wildfly9
◷
تاریخ انتشار: 1395/1/25 | ساعت: 1:42
Vote count: 0 In my program I have the following entity: @Entity @Table(name="ta_seg_perfiles") @NamedQuery(name="Perfil.findAll", query="SELECT p FROM Perfil p") public class Perfil implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy=GenerationTyp...
User mapping is not working in OpsHub Migration Utility
◷
تاریخ انتشار: 1395/1/25 | ساعت: 1:42
Vote count: 0 I was mapping all the users. Migration done successfully to visual studio online. But its still migration doesn't have changeset with corresponding user name. It displays only with who is ru ing migration tool . Can you help me on this ? asked 2 mins agoNelson Let's block ads! (Why?)
Not able to run iOS Appium tests when using node
◷
تاریخ انتشار: 1395/1/25 | ساعت: 1:42
Vote count: 0 I've been ru ing my iOS appium tests using the Appium.app without issue. I want to try using node + appium package instead but I'm ru ing into the error displayed below. I've tried reinstalling node and the appium and wd packages but the issue still persists. I've allowed OSX to accept...
Pass one value into INSERT statement using SQL CommandBuilder
◷
تاریخ انتشار: 1395/1/24 | ساعت: 23:56
Vote count: 0 I'm new to VB.Net. I'm using MySqlCommandBuilder to automatically generate Insert and Update queries when some data is changed in a DataGridView. I already have a variable called user_id that stores a numerical value. THIS IS THE GOAL: I want to insert the value contained in the user_i...
How to draw line with arrow using d3.js
◷
تاریخ انتشار: 1395/1/24 | ساعت: 23:56
Vote count: 0 I have trouble in drawing the line with arrow using d3.js. I did see some tutorials and wrote this code, but I just see the line with no arrow mark. Could anyone please look at it and tell me where am I missing. Thanks in advance. <!DOCTYPE html> <html> <head> <title>Drawing line with ...
How to get data by month from JSON
◷
تاریخ انتشار: 1395/1/24 | ساعت: 23:56
Vote count: 0 I have this JSON: I create html from this data with: function draw(data) { $.each(data, function(idx, obj) { $('#bid').append('<div class="row"><div class="col-md-2"><h5>'+obj.price+'</h5></div></div>'); }); }; but now I need to show only data for current month... How I can get data fr...
hex representation of a 80 bit floating point value
◷
تاریخ انتشار: 1395/1/24 | ساعت: 22:01
Vote count: 0 I'm trying to get the representation of a 80 bit floating point value in hexadecimal in order to store it directly into one of the x87 FPU register. Any help would be appreciated. PS: I know how to store the value into the x87 registers, I'm just failing to find the hex representation ...
Jquery select is selected than add class
◷
تاریخ انتشار: 1395/1/24 | ساعت: 22:01
Vote count: 0 I am lea ing Jquery. I am trying to to understand the selected options. So when user select a option I can do something. I trying to run Jquery so that when the user selects customAmountSelected that it should add a class 'xxx' to customAmountinput $( document ).ready(function() { if (...
Realtime API for editing and saving documents (.docx) in cloud
◷
تاریخ انتشار: 1395/1/24 | ساعت: 22:01
Vote count: 0 I need an API for my website to edit the .docx files stored in my cloud(Azure). I would like to have something like Google Docs that offers collaborative editing. I went through the documentation of Realtime API , but I am only able to edit collaborative strings. How do I expand the sa...