15,127 Topics

Member Avatar for
Member Avatar for rutu9392
Member Avatar for Shiva_20

## I am deleting item from cart through Jquery ajax,but it is not removing. It is returning "System.String[]". ## [WebMethod(EnableSession = true)] public string ClearItem(string Img) { try { if (Session["Items"] != null) { string[] session_item_arr = Session["Items"].ToString().Split('|'); for (int i = 0; i < session_item_arr.Length; i++) { string[] key_arr …

Member Avatar for lps
1
236
Member Avatar for Rabana_1

def Count_Total_Words(str1): total = 1 for i in range(len(str1)): if(str1[i] == ' ' or str1 == '\n' or str1 == '\t'): total = total + 1 return total string = input("Please Enter your Own String : ") leng = Count_Total_Words(string) print("Total Number of Words in this String = ", leng)

Member Avatar for rproffitt
0
130
Member Avatar for chandkrishneel

Im trying to display/show the Total Average in the heading (beside it) and not in the dataset table. I tried different methods but it wont show. (The last method I tried to work with is what in including in the codes. <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <meta charset='UTF-8' …

0
61
Member Avatar for jonsan32

I'm not good with math functions at all, but I've searched for a while and couldn't find anyone even touching on this subject. I'd like to have the price of $900 slowly approach $1500 between the dates of April 1st and August 1st. That's about $5 per day, and the …

Member Avatar for Mr.M
0
45
Member Avatar for mollyrock705

![Inked235345364566556546_LI.jpg](https://static.daniweb.com/attachments/4/b5bf788aff340f6e41ee2b6d28f1f5c9.jpg) Sample output: Enter number of guests: 40 40 guests have been invited. Enjoy the party!

Member Avatar for loveboat
0
454
Member Avatar for Arunshree

This is an api signing key maker.I want to convert this into php code as this is not able to integrate into my php project. public static String signingkey(String apiAccessKey, String hmacSecretKey, String apiMethod, String clientip, String jsonInput) { String retval = ""; final String HMAC_SHA_512_ALGORITHM = "HmacSHA512"; final String …

Member Avatar for rproffitt
0
193
Member Avatar for scrummy

There is a PHP login code but I don't know how to show the error message when the user types wrong datas into the input fields. I used to have a `echo"Wrong username or password!";` But I want to display a DOM element. I don't know how to make it. …

0
3K
Member Avatar for scrummy

I have a page that list all of the users from mysql database. I put a **delete** button in it so you can delete the profile instantly. But I didn't want to delete the user instantly so I put a code that create a modal box when you click onto …

0
290
Member Avatar for samvb2021
Member Avatar for pritaeas
0
26
Member Avatar for ICE Boss

Hello Fam Am a newbie am trying to get each input box seperately with js pls i need help <!doctype html> <html> <head> <title> test </title> </head> <body> <!-- <input type="number" value="1" id="demo"> --> <?php for ($i=0; $i <= 5 ; $i++) { ?> Number <?php echo $i;?>: <input type="number" …

Member Avatar for pritaeas
0
34
Member Avatar for Dave_30

My working code is below, but it chokes when I add more than 5 queries. Can anyone offer some guidance? var dataA = ""; var dataB = ""; function initialize() { var opts = {sendMethod: 'auto'}; var queryString = encodeURIComponent('SELECT J, K, C, E, F WHERE I=1'); var queryA = …

Member Avatar for rproffitt
0
59
Member Avatar for Andrew_70

/** * @param args the command line arguments */ public double averagegrades(double total, double average) { average = total/5; return average; } public static void main(String[] args) { Scanner input = new Scanner(System.in); double[] grades = new double[5]; double total = 0; double average = 0; for(int i=0; i<5; i++){ …

Member Avatar for rproffitt
0
37
Member Avatar for Martín Leandro

Hello everyone. Thanks for taking Time to read muy question AND, hopely, giving retribution. Im from Argentina, currently studying a sort-of full stack node.js carreer. I want to build an online portfolio so I can boost up my possibilities of landing a job when I finish it. So I want …

Member Avatar for rproffitt
0
36
Member Avatar for osaita

Hi there, I am trying to get images onto an HTML5 canvas. The images are on the same page in a sidebar panel getting loaded in through php. If you click on an image on the sidebar, I want it to appear on the canvas. I am learning jquery, but …

0
43
Member Avatar for Andrew_70

public static void main(String[] args) { int agrades = 0; int fgrades=0; int count=0; Scanner input = new Scanner(System.in); System.out.println("Enter Grades: "); int grades = input.nextInt(); while (grades>=0 && grades<=0){ if (grades>=90 && grades<=100) agrades++; if (grades>=0 && grades<=60) fgrades++; count++; grades = input.nextInt(); } System.out.println("Amount of Grade: " + …

Member Avatar for JamesCherrill
0
43
Member Avatar for shilpa647

After page loading , when I click on the ellipsis , horizontal tabs transform from bottom of the product image . After opening of the tabs menu bar , first tab should open by default.I tried multiple solutions but none of them worked out.

0
209
Member Avatar for Varnisha Kalra

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar for marry.sinkovsky
11
4K
Member Avatar for shana_6

hi i have to create a desktop application for "Timetabel Management System" . for that i'm gonna use Java language and i'm really confusing about what platform i have to use it? bcaz my group members suggest me eclips and some suggest me Netbeans? can u help me out with …

Member Avatar for JamesCherrill
0
86
Member Avatar for r4ds

Hello. I noob programing. I need extracting "ALGARROBO" and put in variable in JS. <select> <option value="0560200101">ALGARROBO</option> <option value="0760200601">CALIFORNIA</option> "" "" "" +70 options </select> Someone would be so kind to give me the js code? It is not possible to change the "value", since that information goes to api …

Member Avatar for rproffitt
0
90
Member Avatar for questionpond

Hi all, Used Asp.net Menu Control have designed a navigation bar .Using touchscreen Desktop in Internet Explorer(IE11), single tap not appear but double tap submenus appears but in Microsoft Edge/Google Chrome browser not appear submenus by single tap/double tap . Touch is working in Edge/Chrome by single tap in other …

Member Avatar for rproffitt
0
364
Member Avatar for Marcel_5

This is a simple tictactoe game. When I launch my code, the alert to enter 1,2, or 3 for the row only shows up after I press enter. How do I make it show up first each time I put a new entry? <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <title>TikTakToe …

Member Avatar for rproffitt
0
89
Member Avatar for domandidomandi

I am new for PHP. I tried to display text box value based on drop down selection. it seems code working. no error display here. But when i change the drop down, text box value shows empty. Even print the data it will display only null. HTML:- <select name="cat" id="cat"> …

0
59
Member Avatar for Ridhima_1
Member Avatar for Ckh991

Hi! I have been trying to figure out how to generate 10 random numbers in a row with this : The code should include: var text = " "; var number ; for (var i = 1; i <= 100; i++) text = text + number if (i % 10 …

0
37
Member Avatar for Pocokos

Hi, I am new to web development so I am still kind of unsure to how everything works so sorry if it is something obvious. To create the scenario, I need to create a music player using html5, javascript and css. I very much got stuck on how to shuffle …

Member Avatar for Biiim
0
162
Member Avatar for darkbox

I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a …

Member Avatar for Biiim
2
372
Member Avatar for noor_19
Member Avatar for rproffitt
0
29
Member Avatar for dusoleilg1
Member Avatar for rproffitt
0
26
Member Avatar for Jeon_2

Write a program that prompts the user to input (word/statement), Accepts only letters. The program then: 1.Remove all the vowels from the (word /statement) then output the (word /statement) without vowels. 2. Outputs the number of vowels. 3. Convert the lowercase vowels letters to uppercase and vice versa. Conditions: 1. …

Member Avatar for knight84
0
149

The End.