Hi, I have to pass string entered in the input text to server method calling through jquery ajax. But its not going through. can please somebody tell me what i m doing wrong here. Below is the code: [CODE]$.ajaxSetup({ cache: false //timeout: 1000000 }); function concatObject(obj) { strArray = []; //new Array for (prop in obj) { strArray.push(prop + " value :" + obj[prop]); } return strArray.join(); } //var Eid = "stephen.gilroy1"; function testCAll() { //var ntid = $('#Eid').val(); $.ajax({ type: "POST", url: "Testing.aspx/SendMessage", //data: "{'ntid':'stephen.gilroy1'}", //working data: "{'ntid': $('#Eid').val()}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(result) { alert(result.d); resultData …

Member Avatar
Member Avatar
+0 forum 5

This short Python code gets the local time from the PC as a formatted string using time.strftime('%H:%M:%S'). The time string is displayed in a label using a larger font. A recursive function checks the time five times per second, and updates the time string, if it has changed. Five times per second may sound like overkill, but keeps the display from acting spasmodic.

Member Avatar
Member Avatar
+2 forum 13

What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger)

Member Avatar
Member Avatar
+1 forum 5

Hi. I want to detect a face and draw line exactly around the face to crop it. I searched a lot and used the EmguCV face detector. but now my code just draw a "rectangle" around the face and if I crop it, I will have a rectangle with a face inside it and it's not useful for me. this is the core of my simple code: CascadeClassifier _cascadeClassifier = new CascadeClassifier(Application.StartupPath + "/haarcascade_frontalface_alt_tree.xml"); using (var firstImage = Image.FromStream(saveImageStream)) { var bgrImage = new Image(new Bitmap(firstImage)); Image grayFrame = bgrImage.Convert(); var faces = _cascadeClassifier.DetectMultiScale(grayFrame, 1.01, 1, Size.Empty); foreach (var face …

Member Avatar
Member Avatar
+1 forum 3

In Visual Studio 2015, under Windows 7, I've created a VB application that fills a Checked Listbox with file names from one of my folders. Some of the file names contain an underscore character but when shown in the listbox, that character is replaced with a space. In the code, when I select that item and move its contents to a labelbox, the underscore shows up. Is there a simple Tool > Option I'm missing in set up? (I've read about textblock and not at all happy with that solution.) Thank you, Paul

Member Avatar
Member Avatar
+0 forum 3

Write a PHP code to: 1- Create a 2-dimensional array, with a random number of rows and columns. 2- Fill the array with random numbers. 3- Send the array to a function that returns the number of the highest frequency in the array. Who can help me to solve it?

Member Avatar
Member Avatar
+0 forum 4

Hello webmasters, I have a website about memes and I want to update the database each time the user scrolls down. I have no problem when I make a few requests to the database, but what if I want to do a lot of requests in a large database? I recently had to refactor my code to exclude some code that is important just for the sake of performance. Is there any way around it? How does Facebook do it?

Member Avatar
Member Avatar
+0 forum 3

How do I start a MonoDevelop software program as a system service on Windows, Linux, and Mac? Windows appears to not have a system service setting. I have a WCF service that essentially runs from command line. Even if I have to run from command line, I will need to be able to start the command line server on startup. Apologies for the weird tech, all you have to do is compile MonoDevelop for windows as per the instructions, and when you have a good WCF service you need to remember to set up the project as conventional command line …

Member Avatar
Member Avatar
+0 forum 3

Hey community, how can i show the connected USB-Device like keyboard, mouse, webcam and so on? Or how can i search in the connected USB-Devices, if I know the name or only a part of the name? I am looking for some examples since 2 days, but no one doesn´t work. So I hope you can help me with some code examples in vb.net. best regards joshi

Member Avatar
Member Avatar
+2 forum 21

hi, i have installed XAMPP, but i would like to run my localhost from another computer..

Member Avatar
Member Avatar
+3 forum 14

A developer from India helped me create a pretty cool page, but he's since abadoned me with a few errors in his code. On my [ROSTERS](https://fiftyallstars.com/p/rosters.html) page for my basketball program, it's meant to display cells generated from [this Google Spreadsheet](https://docs.google.com/spreadsheets/d/e/2PACX-1vQd232Tmdvi3iaqni-Gc_RR0d0he9k2Dkel5A7uJU-GWUdck4CFecru3K2HfrybyI3pfrpAMpM4XZOa/pubhtml). Only problem is it works for most grades, but 1st-8th aren't correctly referencing the right columns. I don't know a ton about code, but everything looks like it matches up on the site. **These lines, for instance, are a part of the HTML that should display my spreadsheet's CENTRAL tab columns BG-BK** <li><a href="javascript:void(0)" target="_blank"><span style="float:left; color:#999999;">15 | <span …

Member Avatar
Member Avatar
+2 forum 5

Hi all, I am working on a project that should take all the data from file redirect and write them to a new file. Here is what I have: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "node.h" #include "tree.h" #define TRUE 0 #define FALSE 1 #define stdin stdin #define stdout stdout #define stderr stderr int main(int argc,char *argv[]) { int i; FILE *fp; fp = fopen("result.out", "w"); //create file to write stdin data to. if(fp == NULL) // file validation { printf("Could not open file"); return 0; } if(argc == 1) // executes if command line has file …

Member Avatar
Member Avatar
+1 forum 2

Hello i want to make a video player with HTML5. I t has to have other angular tags and an object inside the <video> tag. The source code below explkains what i want to do. Is it possible? Any suggestions? <video controls preload="metadata" style="width:100%; height:100%;z-index: 100"> <source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" /> <source src="//vjs.zencdn.net/v/oceans.mp4" type="video/mp4" /> <source src="//vjs.zencdn.net/v/oceans.ogg" type="video/ogg" /> <ion-card-content> <ion-item (click)="goUser(media.uid_fk)"> <ion-avatar item-start > <img src="{{media.profile_pic}}"> </ion-avatar> <h2>{{media.username}}</h2> <p>{{media.bio}}</p> </ion-item> <ion-item> <h2 style="color:#fff" (click)="goMedia(media)">{{media.title}}</h2> <p>{{media.description}}</p> </ion-item> </ion-card-content> </video> p.s. it shows the video but not the other inside of it, tags like h2, p ion-item

Member Avatar
+0 forum 0

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', type:'post', data: {emp_id : id}, datatype: 'json', success:function(response) { return value is **378192918**, the first number **0** not showing in alert box. why ? then how to get entire value id_employe from db ?

Member Avatar
Member Avatar
+0 forum 8

I have an annoying problem on my website, I have been struggling for a few days to fix it and I can not do it at all. On my site here https://codurilevietii-888.ro/ each time i load a new page, the scroll position stays same as it was on the previous page. I want to force reset the scroll position (top) each time page is reloaded. This problem happen only on mobile sizes (responsive thing). Does anybody know some code, html/css to force the page to load at the top each time it is refreshed? Would really appreciate that. I’m a …

Member Avatar
Member Avatar
+0 forum 4

Hello all, I was wondering if I could get some questions answered about how cupons work in the work place. I have an idea which involves creating a very flexible cupon service, but would require knowing the rudiments of how cupons work. The main question I have is how is tax calculated on a ware as it is sold under a cupon service. I believe that would be the only thing I would have to stringently mandate as far as the cupon goes, since the institution wishes to clear the merchendise from the floor. The service would involve some C# …

Member Avatar
Member Avatar
+0 forum 3

Am trying to draw three circles on the page but nothing shows up, anyone can tell me what is wrong here? <body> <canvas id="myCircle(3)" width="60" height="60"> Your browser does not support JavaScript, please update it before you continue</canvas> <script type="text/javascript"> function myCircle(myCircle) { var c = document.getElementById("myCircle"); var ctx = c.getContext("2d"); ctx.beginPath(); ctx.arc(30, 30, 26, 0, 2 * Math.PI); ctx.stroke(); return myCircle; } </script> </body> Thank you :)

Member Avatar
Member Avatar
+0 forum 10

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error '424' Object required". Sub extractDataFromTable() Dim IE As Object Dim theTable As Object Dim form As Variant, button As Variant Dim doc As Object Set IE = CreateObject("InternetExplorer.Application") ' navigate to a web page With IE .Visible = True .navigate ("http://www.sizemyups.com") End With While IE.ReadyState <> 4 DoEvents Wend Set …

Member Avatar
Member Avatar
+0 forum 10

Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist Security Info=False")

Member Avatar
Member Avatar
+2 forum 11

Hello, I want to have a manual IP-input-box like windows. ![tcpip_properties.gif](/attachments/large/4/1b3cb2d2b7b2be11e2b4abcef8d6fcc5.gif) I tried by MaskedTextBox but the problem is, the 3 pionts are sliding when i insert some numbers and i can insert letters and numbers higher then 255 (higher is not allowed in IP´s). I hope anyone helps me, maybe with some codesnips!?! :) best regards josh

Member Avatar
Member Avatar
+1 forum 7

I want to add a Facebook share button on my website. But I don't want the new window pop up dialog. I want the dialog that opens on the website, just like Facebook has. I want to accomplish this: ![2014-01-21_19_35_19-Feed_and_Share_Dialog.png](/attachments/large/4/2acecb3250119e0bcf8b8182039b2937.png) Instead of this: ![ajXTj.png](/attachments/large/4/953a8938d10c281edf5a7551f29adf65.png) Can anyone point to me a resource?

Member Avatar
Member Avatar
+1 forum 4

I am on the latest version of Windows 10, running with SWI-Prolog 7.6.4, and trying to get JPL (Java <->Prolog) running for a school project. I've not had to deal with path issues much but I have done my best to understand the problem. I've added the necessary import statements to my java class file, and the necessary environment variables to my system as per the page here: https://jpl7.org/DeploymentWindows However it *still* does not show up as a valid java package. I've just realized as I write this that maybe I need to reboot. I will try that after posting …

Member Avatar
Member Avatar
+1 forum 4

To be honest with you, all the codes that i made were self taught, i had to advance myself to learn more stuff in C++ which my first challenge is to make a simple but clean made text based adventure game, but im at the wall atm. (don't judge me, i'm still a newbie to C++) One is making choices, i tried doing "if" then "else if", on my last project, and it always reads the first "if", making the other two choices non-readable, so i had to force myself to make only one choice (hence making it a game …

Member Avatar
Member Avatar
+2 forum 3

I have installed Facebook share button on my website but it won't work on new content. It works perfect with content that is loaded with PHP but not content appended by AJAX. Can anyone help?

Member Avatar
Member Avatar
+0 forum 1

hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index** *** What I have tried:*** Dim aa As Integer For Z1 = 0 To DataGridView1.RowCount If Me.DataGridView1.Rows(Z1).Cells(2).Value = True Then aa = 1 Else aa = 0 End If Me.DataGridView1.Rows(Z1).Cells(7).Value = aa If Me.DataGridView1.Rows(Z1).Cells(3).Value = True Then aa = aa & 1 Else aa …

Member Avatar
Member Avatar
+0 forum 1

I have some simple scripts like blogs, forums, and so on. They are not of high quality but I want to sell them. The problem is that I cannot build a professonal website. But I want to sell my work. Where can I find a marketplace for such items? Note that I can't sell with Themeforest because they have a strict moderation.

Member Avatar
Member Avatar
+0 forum 1

Hello, So I have buttons on my site connected to a PHP code that updates the column "status" in "users" table with a value based on what button you press. This is the PHP script for that: <?php include('functions.php'); $servername = "localhost"; $username = "root"; $password = ""; $dbname = "emildeveloping"; // Create connection $conn = mysqli_connect($servername, $username, $password, $dbname); // Check connection if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } $id = $_SESSION['user']['id']; if (isset($_POST['108'])) { $sql = "UPDATE users SET status = '10-8' WHERE id='".$id."'"; } if (isset($_POST['107'])) { $sql = "UPDATE users SET status = '10-7' …

Member Avatar
+0 forum 0

I want to pass a value (0 or 1) to another page so i can make an ng if to return a different button. Any help? do i need to pass a parameter from .ts file? first page.html <button ion-tem (click)="goUsers()" *ngIf="editors.length == 0" value="0"> <ion-label> Add editors </ion-label> </button> <button ion-tem (click)="goUsers()" *ngIf="editors.length > 0" value="1"> <ion-label> Add more editors </ion-label> </button> second page.html <button ion-button item-end clear *ngIf="value === '0'"> (click)="addEditor(item)"> Add as Editor </button> <button ion-button item-end clear *ngIf="value ==='1'"> (click)="deleteEditor(item)"> Already an Editor </button>

Member Avatar
Member Avatar
+0 forum 3

I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask. Can this be done with CSS? Or should I consider jQuery? This is what I want to accomplish ... ![Croppr_js.png](/attachments/large/4/5d86601b7d949d7e68afe7357beafc5d.png) I just want to know how to create this overlay image feature.

Member Avatar
Member Avatar
+0 forum 10

Hi, I have a problem with retrieving uploaded images from a database. It appears to upload fine, but when i try to display the image i get loads of binary jargon? I have tried looking everywhere for a solution, but unable to, any help would be greatly appreciated. The code for uploading is [code] include ("database.php"); if(isset($_POST['Submit'])) { if(isset($_FILES['image'])) { /* Upload file from anywhere and put in a set temp dir */ $image = file_get_contents($_FILES['image']['tmp_name']); $image = mysql_real_escape_string($image); $handle = fopen($image, 'rb'); // read binary $contents = fread ($handle, filesize ($image)); //$contents = addslashes($contents); fclose ($handle); $description = $_POST['description']; …

Member Avatar
Member Avatar
+0 forum 13

The End.